Update Resource and Toolkit document.
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/2d5dbb59 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/2d5dbb59 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/2d5dbb59 Branch: refs/heads/master Commit: 2d5dbb592e89532add8eb15f20226c890a859dc5 Parents: 40459c8 Author: erha19 <[email protected]> Authored: Tue Jan 16 17:10:21 2018 +0800 Committer: erha19 <[email protected]> Committed: Tue Jan 16 17:10:21 2018 +0800 ---------------------------------------------------------------------- source/resources.md | 36 ++++++++++++++++++++++++++++++++++++ source/tools/toolkit.md | 15 +++++++-------- source/wiki/faq.md | 1 - 3 files changed, 43 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/2d5dbb59/source/resources.md ---------------------------------------------------------------------- diff --git a/source/resources.md b/source/resources.md index 1b0f238..1348a36 100644 --- a/source/resources.md +++ b/source/resources.md @@ -4,3 +4,39 @@ type: community has_chapter_content: false version: 2.1 --- + +### Documents +- [weex.apache.org](http://weex.apache.org/) +Weex Official Website page. +- [weex-project.io](https://weex-project.io/) +Mirror in Alibaba Cloud (faster in China). +- [Weex Contributing Guide](https://github.com/apache/incubator-weex/blob/master/CONTRIBUTING.md) +A guidance document tells you how to be submitted by the person weex and how to participate in mailing discussions +- [Weex FAQ](https://weex.apache.org/faq.html) +- [Weex Articles(cn)](https://github.com/weexteam/article/issues) + +### DSL Support +- [Rax](https://alibaba.github.io/rax/) +**Rax** is a front-end framework with React-compatible APIs. +- [Vue.js](https://vuejs.org/) +**Vue.js** is a progressive front-end framework for building user interfaces. + +### UI Components +- [Weex Ui](https://alibaba.github.io/weex-ui/) +**Weex Ui** is a rich interaction, lightweight, high performance UI library. + +### Develop Tools +- [Online Playground](http://dotwe.org/vue/) +A website provides weex code practice and preview, as well as a convenient sharing platform. +- [Playground App](http://localhost:4000/tools/playground.html) +You can preview weex on the Playground App and learning how to use weex on it. +- [Weex Market](https://market.dotwe.org) +A website that provides a quick porting of weex's third-party component list, where you can find the weex components you need for integration. +- [Weex Language support for Intellij](https://plugins.jetbrains.com/plugin/9189-weex-language-support) +A plugin supports Weex Language for Intellij. + +### Weex Community +- [SegmentFault (cn)](https://segmentfault.com/t/weex) +- [StackOverflow](https://stackoverflow.com/questions/tagged/weex) +- [Telegram Russian Community Group](https://telegram.me/weex_ru) +- [Gitter for weex-en](https://gitter.im/weex-en/Lobby) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/2d5dbb59/source/tools/toolkit.md ---------------------------------------------------------------------- diff --git a/source/tools/toolkit.md b/source/tools/toolkit.md index 5679813..a1b2232 100644 --- a/source/tools/toolkit.md +++ b/source/tools/toolkit.md @@ -17,8 +17,7 @@ $ npm install -g weex-toolkit You can use the `weex -v` command to confirm that the installation is successful. If you have never installed node.js, you should go [node.js.org]( https://nodejs.org/en/) to download and install it. -* node engine version >= 6. You can try [n](https://github.com/tj/n) to manage your node versions* -If you meet some errors when installing, please go [weex-toolkit issues](https://github.com/weexteam/weex-toolkit/issues) or [weex-toolkit faq](https://github.com/weexteam/weex-toolkit#faq) to find some solution or have a discuss with us. +> **NOTE:** The node version needs to be upper 6.0. You can try [n](https://github.com/tj/n) to manage your node versions. If you meet some errors when installing, please go [weex-toolkit issues](https://github.com/weexteam/weex-toolkit/issues) or [weex-toolkit faq](https://github.com/weexteam/weex-toolkit#faq) to find some solution or have a discuss with us. ## Commands @@ -41,7 +40,7 @@ You need to run `npm i` before running `npm start` to install project dependenci weex-toolkit supports previewing your Weex file(`.vue`) in a watch mode. You only need specify your file path. ``` bash -$ weex src/foo.vue +$ weex preview src/foo.vue ``` The browser automatically opens the preview page and you can see the layout and effects of your weex page. If you have a [Playground](https://weex.apache.org/cn/playground.html) app in your mobile devices, you can scan the QR code at the opened page. @@ -49,7 +48,7 @@ The browser automatically opens the preview page and you can see the layout and Try the command below, youâll preview the whole directory files. ``` bash -$ weex src --entry src/foo.vue +$ weex preview src --entry src/foo.vue ``` You need to specify the folder path to preview and the entry file (passed in via `--entry`). @@ -68,7 +67,7 @@ $ weex compile [source] [dist] [options] | -------- | :----- | |`-w, --watch` | watch we file changes auto build them and refresh debugger page! [default `true`]| |`-d,--devtool [devtool]` |set webpack devtool mode| -|`-e,--ext [ext]` | set enabled extname for compiler default is vue|we| +|`-e,--ext [ext]` | set enabled extname for compiler default is vue | |`-m, --min`| set jsbundle uglify or not. [default `false`]| You can use like this: @@ -113,10 +112,10 @@ weex debug [we_file|bundles_dir] [options] |`-v, --version` | display version| |`-p, --port [port]` | set debugger server port| |`-e, --entry [entry]` | set the entry bundlejs path when you specific the bundle server root path| -|`-m, --mode [mode]` | set build mode [transformer|loader]| -|`-w, --watch` | watch we file changes auto build them and refresh debugger page! [default `true`]| +|`-m, --mode [mode]` | set build mode [transformer or loader]| +|`-w, --watch` | watch we file changes auto build them and refresh debugger page [default `true`]| |`--ip [ip]`|set the host ip of debugger server| -|`--loglevel [loglevel]`| set log level `silent|error|warn|info|log|debug`| +|`--loglevel [loglevel]`| set log level| |`--min`| set jsbundle uglify or not. [default `false`]| |`--debug`| start with node-inspect default port is 9331| http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/2d5dbb59/source/wiki/faq.md ---------------------------------------------------------------------- diff --git a/source/wiki/faq.md b/source/wiki/faq.md index ba63658..1d71661 100644 --- a/source/wiki/faq.md +++ b/source/wiki/faq.md @@ -4,7 +4,6 @@ type: wiki group: FAQ order: 8 version: 2.1 -layout: post --- # FAQ
