Skip to content

Commit

Permalink
[Doc] change document site path to /zanui/vant (youzan#262)
Browse files Browse the repository at this point in the history
* [bugfix] CouponList always show empty info

* [bugfix] add click feedback of buttons in components

* [Doc] add custom theme document

* [new feature] Notice bar support more props

* [bugfix] PullRefresh test cases

* [bugfix] unused NoticeBar style

* [bugfix] Swipe width calc error

* [Doc] english document of all action components

* [Doc] change document site path to /zanui/vant

* [Doc] fix
  • Loading branch information
chenjiahan authored Oct 27, 2017
1 parent a7d8379 commit a186f69
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Vue.use(Vant);
<script src="https://unpkg.com/vant/lib/vant.min.js"></script>
```

See more in [Quickstart](https://www.youzanyun.com/zanui/vue#/en-US/component/quickstart).
See more in [Quickstart](https://www.youzanyun.com/zanui/vant#/en-US/component/quickstart).

## Contribution
Please make sure to read the [Contributing Guide](./.github/CONTRIBUTING.md) before making a pull request.
Expand All @@ -93,8 +93,8 @@ Please make sure to read the [Contributing Guide](./.github/CONTRIBUTING.md) bef
Modern browsers and Android 4.0+, iOS 6+.

## Links
- [Documentation](https://www.youzanyun.com/zanui/vue)
- [Change log](https://www.youzanyun.com/zanui/vue#/en-US/component/changelog)
- [Documentation](https://www.youzanyun.com/zanui/vant)
- [Change log](https://www.youzanyun.com/zanui/vant#/en-US/component/changelog)
- [React UI Zent](https://www.youzanyun.com/zanui/react)
- [vue-cli-template-vant](https://github.com/youzan/vue-cli-template-vant)
- [vant-demo](https://github.com/chenjiahan/vant-demo)
Expand Down
6 changes: 3 additions & 3 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Vue.use(Vant);
<script src="https://unpkg.com/vant/lib/vant.min.js"></script>
```

更多内容请参考 [快速上手](https://www.youzanyun.com/zanui/vue#/zh-CN/component/quickstart).
更多内容请参考 [快速上手](https://www.youzanyun.com/zanui/vant#/zh-CN/component/quickstart).

## 贡献代码

Expand All @@ -100,8 +100,8 @@ Vue.use(Vant);
![zanui_vue_mobile_qrcode](https://img.yzcdn.cn/v2/image/youzanyun/zanui/pc/zanui_vue_mobile_preview_03.png)

## 链接
- [详细文档](https://www.youzanyun.com/zanui/vue)
- [更新日志](https://www.youzanyun.com/zanui/vue#/en-US/component/changelog)
- [详细文档](https://www.youzanyun.com/zanui/vant)
- [更新日志](https://www.youzanyun.com/zanui/vant#/en-US/component/changelog)
- [React 组件库 Zent](https://www.youzanyun.com/zanui/react)
- [vue-cli-template-vant](https://github.com/youzan/vue-cli-template-vant)
- [vant-demo](https://github.com/chenjiahan/vant-demo)
Expand Down
2 changes: 1 addition & 1 deletion build/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const devConfig = require('./webpack.config.dev.js');
module.exports = merge(devConfig, {
output: {
path: path.join(__dirname, '../docs/dist'),
publicPath: 'https://b.yzcdn.cn/zanui/vue/',
publicPath: 'https://b.yzcdn.cn/zanui/vant/',
filename: '[name].[hash:8].js',
umdNamedDefine: true,
chunkFilename: 'async_[name].[chunkhash:8].js'
Expand Down
2 changes: 1 addition & 1 deletion docs/src/DocsApp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
}
return {
simulators: [`/zanui/vue/examples${location.hash}`],
simulators: [`/zanui/vant/examples${location.hash}`],
demoURL: '',
lang: getLang()
};
Expand Down
2 changes: 1 addition & 1 deletion docs/src/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Vue.use(VueRouter);
const routesConfig = routes(true);
const router = new VueRouter({
mode: 'hash',
base: '/zanui/vue/examples',
base: '/zanui/vant/examples',
routes: routesConfig
});

Expand Down
4 changes: 2 additions & 2 deletions docs/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ const routesConfig = routes();

const router = new VueRouter({
mode: 'hash',
base: '/zanui/vue/',
base: '/zanui/vant/',
routes: routesConfig
});

router.beforeEach((route, redirect, next) => {
if (isMobile) {
window.location.replace('/zanui/vue/examples');
window.location.replace('/zanui/vant/examples');
}
document.title = route.meta.title || document.title;
next();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build:style-entry": "VUE_ENV=server node build/bin/build-style-entry.js",
"build:changelog": "sh build/bin/build-changelog.sh",
"deploy": "npm run deploy:docs && npm run deploy:cdn && gh-pages -d docs/dist --remote youzan && rimraf docs/dist",
"deploy:cdn": "superman cdn /zanui/vue docs/dist/*.js docs/dist/*.css && superman cdn /zanui/vue/async_en-US docs/dist/async_en-US/*.js && superman cdn /zanui/vue/async_zh-CN docs/dist/async_zh-CN/*.js",
"deploy:cdn": "superman cdn /zanui/vant docs/dist/*.js docs/dist/*.css && superman cdn /zanui/vant/async_en-US docs/dist/async_en-US/*.js && superman cdn /zanui/vant/async_zh-CN docs/dist/async_zh-CN/*.js",
"deploy:docs": "rimraf docs/dist && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.config.prod.js",
"dist": "node build/bin/build-lib.js",
"clean": "rimraf lib && rimraf packages/*/lib",
Expand Down

0 comments on commit a186f69

Please sign in to comment.