mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] deploy 1.x site
This commit is contained in:
parent
373e9bbc2f
commit
99c4f14022
@ -108,7 +108,7 @@ Vue.use(Vant);
|
|||||||
|
|
||||||
> If you configured babel-plugin-import, you won't be allowed to import all components.
|
> If you configured babel-plugin-import, you won't be allowed to import all components.
|
||||||
|
|
||||||
See more in [Quickstart](https://youzan.github.io/vant#/en-US/quickstart).
|
See more in [Quickstart](https://youzan.github.io/vant/1.x#/en-US/quickstart).
|
||||||
|
|
||||||
## Contribution
|
## Contribution
|
||||||
|
|
||||||
@ -120,8 +120,8 @@ Modern browsers and Android 4.0+, iOS 6+.
|
|||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
* [Documentation](https://youzan.github.io/vant)
|
* [Documentation](https://youzan.github.io/vant/1.x)
|
||||||
* [Changelog](https://youzan.github.io/vant#/en-US/changelog)
|
* [Changelog](https://youzan.github.io/vant/1.x#/en-US/changelog)
|
||||||
* [Vant Demo](https://github.com/youzan/vant-demo)
|
* [Vant Demo](https://github.com/youzan/vant-demo)
|
||||||
* [Vant Weapp: Weapp UI](https://github.com/youzan/vant-weapp)
|
* [Vant Weapp: Weapp UI](https://github.com/youzan/vant-weapp)
|
||||||
* [Zent: PC UI base on React](https://www.youzanyun.com/zanui/zent)
|
* [Zent: PC UI base on React](https://www.youzanyun.com/zanui/zent)
|
||||||
|
@ -111,7 +111,7 @@ Vue.use(Vant);
|
|||||||
|
|
||||||
> 注意:配置 babel-plugin-import 插件后将不允许导入所有组件
|
> 注意:配置 babel-plugin-import 插件后将不允许导入所有组件
|
||||||
|
|
||||||
更多内容请参考 [快速上手](https://youzan.github.io/vant#/zh-CN/quickstart).
|
更多内容请参考 [快速上手](https://youzan.github.io/vant/1.x#/zh-CN/quickstart).
|
||||||
|
|
||||||
## 贡献代码
|
## 贡献代码
|
||||||
|
|
||||||
@ -125,8 +125,8 @@ Vue.use(Vant);
|
|||||||
|
|
||||||
## 链接
|
## 链接
|
||||||
|
|
||||||
* [详细文档](https://youzan.github.io/vant)
|
* [详细文档](https://youzan.github.io/vant/1.x)
|
||||||
* [更新日志](https://youzan.github.io/vant#/zh-CN/changelog)
|
* [更新日志](https://youzan.github.io/vant/1.x#/zh-CN/changelog)
|
||||||
* [Vant Demo: 示例工程](https://github.com/youzan/vant-demo)
|
* [Vant Demo: 示例工程](https://github.com/youzan/vant-demo)
|
||||||
* [Vant Weapp: 小程序 UI](https://github.com/youzan/vant-weapp)
|
* [Vant Weapp: 小程序 UI](https://github.com/youzan/vant-weapp)
|
||||||
* [Zent: PC 端 React UI](https://www.youzanyun.com/zanui/zent)
|
* [Zent: PC 端 React UI](https://www.youzanyun.com/zanui/zent)
|
||||||
|
@ -7,7 +7,7 @@ module.exports = Object.assign(config, {
|
|||||||
mode: 'production',
|
mode: 'production',
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, '../docs/dist'),
|
path: path.join(__dirname, '../docs/dist'),
|
||||||
publicPath: 'https://youzan.github.io/vant/',
|
publicPath: 'https://youzan.github.io/vant/1.x/',
|
||||||
filename: '[name].[hash:8].js',
|
filename: '[name].[hash:8].js',
|
||||||
chunkFilename: 'async_[name].[chunkhash:8].js'
|
chunkFilename: 'async_[name].[chunkhash:8].js'
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ module.exports = {
|
|||||||
href: '#/'
|
href: '#/'
|
||||||
},
|
},
|
||||||
nav: {
|
nav: {
|
||||||
'Vue 组件': 'https://youzan.github.io/vant/',
|
'Vue 组件': 'https://youzan.github.io/vant/1.x/',
|
||||||
'小程序组件': 'https://youzan.github.io/vant-weapp/',
|
'小程序组件': 'https://youzan.github.io/vant-weapp/',
|
||||||
lang: {
|
lang: {
|
||||||
text: 'En',
|
text: 'En',
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
"build:style-entry": "node build/build-style-entry.js",
|
"build:style-entry": "node build/build-style-entry.js",
|
||||||
"build:changelog": "vant-doc changelog ./changelog.generated.md",
|
"build:changelog": "vant-doc changelog ./changelog.generated.md",
|
||||||
"build:lib": "node build/build-lib.js",
|
"build:lib": "node build/build-lib.js",
|
||||||
"build:site": "rimraf docs/dist && cross-env NODE_ENV=production webpack --config build/webpack.doc.js && gh-pages -d docs/dist",
|
"build:site": "rimraf docs/dist && cross-env NODE_ENV=production webpack --config build/webpack.doc.js && gh-pages -d docs/dist --dest 1.x",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:watch": "jest --watch",
|
"test:watch": "jest --watch",
|
||||||
"test:clear-cache": "jest --clearCache",
|
"test:clear-cache": "jest --clearCache",
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
<van-cell
|
<van-cell
|
||||||
:title="$t('cell')"
|
:title="$t('cell')"
|
||||||
is-link
|
is-link
|
||||||
url="//youzan.github.io/vant/mobile.html"
|
url="//youzan.github.io/vant/1.x/mobile.html"
|
||||||
/>
|
/>
|
||||||
<van-cell
|
<van-cell
|
||||||
:title="$t('cell')"
|
:title="$t('cell')"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user