Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
docs(update home page):
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Nov 25, 2019
1 parent 06240b5 commit dec6e3d
Show file tree
Hide file tree
Showing 10 changed files with 149 additions and 149 deletions.
128 changes: 64 additions & 64 deletions CHANGELOG.md

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions CHANGELOG_cn.md

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
## Docs

* [**Home Page**](https://alibaba.github.io/weex-ui/)
* [中文文档](https://alibaba.github.io/weex-ui/#/cn/)
* [Use Weex Ui with weex-toolkit](https://alibaba.github.io/weex-ui/#/docs/with-weex-toolkit)
* [**Home Page**](https://apache.github.io/incubator-weex-ui/)
* [中文文档](https://apache.github.io/incubator-weex-ui/#/cn/)
* [Use Weex Ui with weex-toolkit](https://apache.github.io/incubator-weex-ui/#/docs/with-weex-toolkit)

## Demo

Expand Down Expand Up @@ -98,8 +98,8 @@ npm i babel-preset-stage-0 babel-plugin-component -D

* If babel-loader in `webpack.config.js` has a exclude for node_modules, please turn on for week-ui as `exclude: /node_modules(?!(\/|\\).*(weex).*)/`.
* In order to get the latest features, please focus on the [ChangeLog](https://github.com/apache/incubator-weex-ui/releases) and often update `weex-ui` to the latest.
* Many questions can be found from [faq](https://alibaba.github.io/weex-ui/#/faq) and [issue list](https://github.com/apache/incubator-weex-ui/issues?utf8=%E2%9C%93&q=), if you find a new bug, just file a [issue](https://github.com/apache/incubator-weex-ui/issues/new).
* More experience in Weex construction can be learned from [Weex + Ui - Weex Conf 2018](https://alibaba.github.io/weex-ui/#/docs/weex-ui-weex-conf-2018) ,welcome to translate it.
* Many questions can be found from [faq](https://apache.github.io/incubator-weex-ui/#/faq) and [issue list](https://github.com/apache/incubator-weex-ui/issues?utf8=%E2%9C%93&q=), if you find a new bug, just file a [issue](https://github.com/apache/incubator-weex-ui/issues/new).
* More experience in Weex construction can be learned from [Weex + Ui - Weex Conf 2018](https://apache.github.io/incubator-weex-ui/#/docs/weex-ui-weex-conf-2018) ,welcome to translate it.

## Development

Expand Down
10 changes: 5 additions & 5 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
## 文档

* **[主页](https://alibaba.github.io/weex-ui/#/cn/)**
* [English](https://alibaba.github.io/weex-ui/#/)
* [搭配 weex-toolkit 使用 Weex Ui](https://alibaba.github.io/weex-ui/#/cn/with-weex-toolkit)
* **[主页](https://apache.github.io/incubator-weex-ui/#/cn/)**
* [English](https://apache.github.io/incubator-weex-ui/#/)
* [搭配 weex-toolkit 使用 Weex Ui](https://apache.github.io/incubator-weex-ui/#/cn/with-weex-toolkit)

## 预览

Expand Down Expand Up @@ -99,8 +99,8 @@ npm i babel-preset-stage-0 babel-plugin-component -D
* 如果 `webpack.config.js`中 babel-loader 有对 node_modules 进行 exclude 处理,请修改成这样 `exclude: /node_modules(?!(\/|\\).*(weex).*)/`
* 更多使用可见:[在 weex-toolkit 创建的项目中使用 Weex Ui](/docs/with-weex-toolkit_cn.md)[weex-ui-demo](https://github.com/tw93/weex-ui-demo)
* 为了获取最新特性, 请常查看 [升级日志](https://github.com/apache/incubator-weex-ui/releases) 并更新组件到最新版本
* 很多常见问题可以从 [faq](https://alibaba.github.io/weex-ui/#/cn/faq)[issue 列表](https://github.com/apache/incubator-weex-ui/issues?utf8=%E2%9C%93&q=) 获得答案,假如发现了新 Bug,可以给我们提一个[issue](https://github.com/apache/incubator-weex-ui/issues/new)
* 更多的 Weex 建设经验可以从 [Weex + Ui - Weex Conf 2018](https://alibaba.github.io/weex-ui/#/docs/weex-ui-weex-conf-2018) 这篇文章了解,欢迎翻译~
* 很多常见问题可以从 [faq](https://apache.github.io/incubator-weex-ui/#/cn/faq)[issue 列表](https://github.com/apache/incubator-weex-ui/issues?utf8=%E2%9C%93&q=) 获得答案,假如发现了新 Bug,可以给我们提一个[issue](https://github.com/apache/incubator-weex-ui/issues/new)
* 更多的 Weex 建设经验可以从 [Weex + Ui - Weex Conf 2018](https://apache.github.io/incubator-weex-ui/#/docs/weex-ui-weex-conf-2018) 这篇文章了解,欢迎翻译~

## 调试

Expand Down
6 changes: 3 additions & 3 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
- Use Base64:This depends on native image library resolution, but it is not recommended to use more than 2k Base64 in Weex, which makes the bundle too large to affect performance.

#### Module not found: Error: Can't resolve 'weex-ui/packages/wxc-button/style.css'
- This error should be the `babel-plugin-component` lack of style configuration, You can refer to [Weex-toolkit](https://alibaba.github.io/weex-ui/#/?id=weex-toolkit) to fix it.
- This error should be the `babel-plugin-component` lack of style configuration, You can refer to [Weex-toolkit](https://apache.github.io/incubator-weex-ui/#/?id=weex-toolkit) to fix it.


#### Uncaught SyntaxError: Unexpected token export;
- This error typically occurs on the page developed using old weex-toolkit.
- You can refer to [this document](https://alibaba.github.io/weex-ui/#/with-weex-toolkit) to fix it.
- You can refer to [this document](https://apache.github.io/incubator-weex-ui/#/with-weex-toolkit) to fix it.

#### ERROR in XXX from UglifyJs Unexpected token: punc (() [XXX]
- You can refer to [this document](https://alibaba.github.io/weex-ui/#/with-weex-toolkit) to fix it.
- You can refer to [this document](https://apache.github.io/incubator-weex-ui/#/with-weex-toolkit) to fix it.
- If you are using a Windows system, you may still have this problem when you upgrade, you check the babel config about `webpack.config.js`, modify `exclude` like this:

```js
Expand Down
6 changes: 3 additions & 3 deletions docs/faq_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
- 使用Base64:这个取决于底层图片库解析功能,但是不建议在 Weex 中使用超过 2k 的 Base64,容易让bundle体积过大,影响性能

#### Module not found: Error: Can't resolve 'weex-ui/packages/wxc-button/style.css'
- 此错误应该babel配置babel-plugin-component时候缺少style配置,详细可见 [Weex-toolkit](https://alibaba.github.io/weex-ui/#/cn/?id=weex-toolkit)
- 此错误应该babel配置babel-plugin-component时候缺少style配置,详细可见 [Weex-toolkit](https://apache.github.io/incubator-weex-ui/#/cn/?id=weex-toolkit)

#### Uncaught SyntaxError: Unexpected token export;
- 此错误一般出现在使用老的 weex-toolkit 工具开发的页面。
- 可以参考[此文档](https://alibaba.github.io/weex-ui/#/cn/with-weex-toolkit)进行相关依赖升级。
- 可以参考[此文档](https://apache.github.io/incubator-weex-ui/#/cn/with-weex-toolkit)进行相关依赖升级。

#### ERROR in XXX from UglifyJs Unexpected token: punc (() [XXX]
- 此错误为 webpack 打包过程中寻找weex-ui依赖出现的问题,目前新版本 weex-toolkit 已经修复
- 统一可以参考[此文档](https://alibaba.github.io/weex-ui/#/cn/with-weex-toolkit)进行相关依赖升级。
- 统一可以参考[此文档](https://apache.github.io/incubator-weex-ui/#/cn/with-weex-toolkit)进行相关依赖升级。
- 假如是 windows 系统,升级依赖后可能还是有此问题,可以检查 `webpack.config.js` 中 babel 配置(两处),将 exclude 修改成这样:

```js
Expand Down
2 changes: 1 addition & 1 deletion docs/weex-ui-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Weex Ui 的定位为 **一套轻量、富交互、高性能的 Weex 上层 Ui

<img src="https://img.alicdn.com/tfs/TB11tdshrGYBuNjy0FoXXciBFXa-2792-1884.png" width="800"/>

更多版本迭代可见 [Weex Ui 升级日志](https://alibaba.github.io/weex-ui/#/cn/CHANGELOG)
更多版本迭代可见 [Weex Ui 升级日志](https://apache.github.io/incubator-weex-ui/#/cn/CHANGELOG)

### Weex Ui 的展望
- 引入更多的**富交互**组件,让 Weex 应用 More Native
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "git",
"url": "git+https://github.com/apache/incubator-weex-ui.git"
},
"homepage": "https://alibaba.github.io/weex-ui/",
"homepage": "https://apache.github.io/incubator-weex-ui/",
"bugs": {
"url": "https://github.com/apache/incubator-weex-ui/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/wxc-tab-page/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ this.$refs['wxc-tab-page'].setPage(2,null,false);
## Immersive full screen `WxcFullPage` components
1. Import:` import { WxcFullPage} from 'weex-ui';`
2. Params are consistent with `wxcTabPage`,more you can see [【demo/full-page】](https://github.com/apache/incubator-weex-ui/blob/master/example/tab-page/full-page/)
3. It is recommended to hide the head navigation bar for use,also can use[wxc-slide-nav](https://alibaba.github.io/weex-ui/#/packages/wxc-slide-nav/)
3. It is recommended to hide the head navigation bar for use,also can use[wxc-slide-nav](https://apache.github.io/incubator-weex-ui/#/packages/wxc-slide-nav/)


## wxc-pan-item
Expand Down
2 changes: 1 addition & 1 deletion packages/wxc-tab-page/README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ this.$refs['wxc-tab-page'].setPage(2,null,false);
## 沉浸式全屏的 FullPage 的使用
1. 引入:` import { WxcFullPage} from 'weex-ui';`
2. 参数形式和 wxcTabPage 保持一致,详细可见 [【demo】](https://github.com/apache/incubator-weex-ui/blob/master/example/tab-page/full-page/)
3. 建议隐藏头部导航栏使用,同时可以结合 [wxc-slide-nav](https://alibaba.github.io/weex-ui/#/packages/wxc-slide-nav/) 使用
3. 建议隐藏头部导航栏使用,同时可以结合 [wxc-slide-nav](https://apache.github.io/incubator-weex-ui/#/packages/wxc-slide-nav/) 使用

## wxc-pan-item 的使用

Expand Down

0 comments on commit dec6e3d

Please sign in to comment.