diff --git a/FAQ.md b/FAQ.md index fcb2935b9..0fc00ddd9 100644 --- a/FAQ.md +++ b/FAQ.md @@ -28,6 +28,12 @@ 参数 `row` 即为对应行的数据。 +
+Tree 组件的 `render-content` 和 Table 组件的 `render-header` 怎么用? + +请阅读 Vue 文档 [Render Function](http://vuejs.org/v2/guide/render-function.html) 的相关内容。注意,使用 JSX 来写 Render Function 的话,需要安装 `babel-plugin-transform-vue-jsx`,并参照其[文档](https://github.com/vuejs/babel-plugin-transform-vue-jsx)进行配置。 +
+
你们的文档怎么偷偷更新了? diff --git a/README.md b/README.md index 7f5f68e9a..bf367513f 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ [![CDNJS](https://img.shields.io/cdnjs/v/element-ui.svg)](https://cdnjs.com/libraries/element-ui) [![npm package](https://img.shields.io/npm/v/element-ui.svg)](https://www.npmjs.org/package/element-ui) [![NPM downloads](http://img.shields.io/npm/dm/element-ui.svg)](https://npmjs.org/package/element-ui) -![JS gzip size](http://img.badgesize.io/https://unpkg.com/element-ui@next/lib/index.js?compression=gzip&label=gzip%20size:%20JS) -![CSS gzip size](http://img.badgesize.io/https://unpkg.com/element-ui@next/lib/theme-default/index.css?compression=gzip&label=gzip%20size:%20CSS) +![JS gzip size](http://img.badgesize.io/https://unpkg.com/element-ui/lib/index.js?compression=gzip&label=gzip%20size:%20JS) +![CSS gzip size](http://img.badgesize.io/https://unpkg.com/element-ui/lib/theme-default/index.css?compression=gzip&label=gzip%20size:%20CSS) [![Join the chat at https://gitter.im/ElemeFE/element](https://badges.gitter.im/ElemeFE/element.svg)](https://gitter.im/ElemeFE/element?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) > Desktop UI elements for Vue.js 2.0. @@ -28,7 +28,7 @@ ## Install ```shell -npm install element-ui@next -S +npm install element-ui -S ``` ## Quick Start diff --git a/build/release.sh b/build/release.sh index e798b700a..7f9401da1 100644 --- a/build/release.sh +++ b/build/release.sh @@ -15,7 +15,7 @@ then echo "Releasing theme-default $VERSION ..." cd packages/theme-default npm version $VERSION --message "[release] $VERSION" - npm publish --tag next + npm publish cd ../.. # commit @@ -26,5 +26,5 @@ then # publish git push eleme refs/tags/v$VERSION git push eleme master - npm publish --tag next + npm publish fi diff --git a/custom-theme.md b/custom-theme.md index ad732933a..fde07686e 100644 --- a/custom-theme.md +++ b/custom-theme.md @@ -9,7 +9,7 @@ npm i element-theme -D 安装默认主题,可以从 npm 安装或者从 GitHub 拉取最新代码。 ```shell -npm i element-theme-default@next -D +npm i element-theme-default -D # 从 GitHub npm i https://github.com/ElementUI/theme-default -D diff --git a/examples/components/demo-block.vue b/examples/components/demo-block.vue index c5231211b..4729c275b 100644 --- a/examples/components/demo-block.vue +++ b/examples/components/demo-block.vue @@ -169,10 +169,10 @@ goJsfiddle() { const { script, html, style } = this.jsfiddle; const resourcesTpl = '' + - '\n'; + '\n'; let jsTpl = (script || '').replace(/export default/, 'var Main =').trim(); let htmlTpl = `${resourcesTpl}\n
\n${html.trim()}\n
`; - let cssTpl = `@import url("//unpkg.com/element-ui@next/lib/theme-default/index.css");\n${(style || '').trim()}\n`; + let cssTpl = `@import url("//unpkg.com/element-ui/lib/theme-default/index.css");\n${(style || '').trim()}\n`; jsTpl = jsTpl ? jsTpl + '\nvar Ctor = Vue.extend(Main)\nnew Ctor().$mount(\'#app\')' : 'new Vue().$mount(\'#app\')'; diff --git a/examples/docs/zh-CN/installation.md b/examples/docs/zh-CN/installation.md index e4ccedf9f..74de379cf 100644 --- a/examples/docs/zh-CN/installation.md +++ b/examples/docs/zh-CN/installation.md @@ -4,18 +4,17 @@ 推荐使用 npm 的方式安装,它能更好地和 [webpack](https://webpack.js.org/) 打包工具配合使用。 ```shell -npm i element-ui@next -D +npm i element-ui -D ``` -**由于当前还处于 rc 阶段,所以仍然需要通过 @next 的方式获取最新版本。** ### CDN -目前可以通过 [unpkg.com/element-ui](https://unpkg.com/element-ui@next/) 获取到最新版本的资源,在页面上引入 js 和 css 文件即可开始使用。 +目前可以通过 [unpkg.com/element-ui](https://unpkg.com/element-ui/) 获取到最新版本的资源,在页面上引入 js 和 css 文件即可开始使用。 ```html - + - + ``` ### Hello world @@ -27,7 +26,7 @@ npm i element-ui@next -D - +
@@ -38,9 +37,9 @@ npm i element-ui@next -D
- + - +