From 805d4e32955ede2e8ccf80a1c5721463a3a37b77 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sat, 16 Feb 2019 16:51:21 +0800 Subject: [PATCH] docs: update url path --- .github/ISSUE_TEMPLATE.md | 2 +- ...-please-use-new-issue-ant-design-vue---.md | 2 +- CHANGELOG.en-US.md | 4 +- CHANGELOG.zh-CN.md | 4 +- README-zh_CN.md | 12 +-- README.md | 12 +-- components/date-picker/index.en-US.md | 4 +- components/date-picker/index.zh-CN.md | 4 +- .../__tests__/__snapshots__/demo.test.js.snap | 4 +- components/drawer/demo/user-profile.md | 2 +- components/dropdown/index.en-US.md | 12 +-- components/dropdown/index.zh-CN.md | 12 +-- .../form/demo/customized-form-controls.vue | 8 +- components/form/index.en-US.md | 4 +- components/form/index.zh-CN.md | 4 +- components/input/demo/tooltip.md | 4 +- components/layout/demo/index.vue | 6 +- components/layout/index.zh-CN.md | 4 +- .../__tests__/__snapshots__/demo.test.js.snap | 14 ++-- components/list/demo/basic.md | 2 +- components/list/demo/loadmore.md | 2 +- components/list/demo/resposive.md | 4 +- components/list/demo/vertical.md | 2 +- components/list/index.en-US.md | 6 +- components/list/index.zh-CN.md | 6 +- components/modal/index.en-US.md | 8 +- components/modal/index.zh-CN.md | 8 +- components/popconfirm/index.en-US.md | 2 +- components/popconfirm/index.zh-CN.md | 2 +- components/popover/index.en-US.md | 2 +- components/popover/index.zh-CN.md | 2 +- components/select/demo/coordinate.md | 4 +- components/skeleton/demo/list.md | 2 +- components/slider/demo/input-number.md | 4 +- components/table/index.en-US.md | 6 +- components/table/index.zh-CN.md | 6 +- docs/vue/faq.en-US.md | 2 +- docs/vue/faq.zh-CN.md | 2 +- docs/vue/getting-started.en-US.md | 2 +- docs/vue/getting-started.zh-CN.md | 2 +- docs/vue/i18n.en-US.md | 4 +- docs/vue/i18n.zh-CN.md | 4 +- docs/vue/introduce.en-US.md | 14 ++-- docs/vue/introduce.zh-CN.md | 16 ++-- docs/vue/use-with-vue-cli.en-US.md | 6 +- docs/vue/use-with-vue-cli.zh-CN.md | 6 +- scripts/gulpfile.js | 5 +- site/404.html | 80 +++++++++++++++++++ site/components/CarbonAds.vue | 1 + site/components/footer.vue | 2 +- site/components/header.vue | 8 +- site/components/layout.vue | 10 +-- site/routes.js | 12 +-- types/table/table.d.ts | 2 +- webpack.config.js | 4 +- webpack.site.config.js | 2 +- 56 files changed, 227 insertions(+), 143 deletions(-) create mode 100644 site/404.html diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index a14900df5..874e7754d 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -10,7 +10,7 @@ If your issue was not created using the app above, it will be closed immediately ⚠️ ⚠️ ⚠️ 注意:请使用下面的链接来新建 issue: ⚠️ ⚠️ ⚠️ https://vuecomponent.github.io/issue-helper/ - 国内镜像:http://tangjinzhou.gitee.io/issue-helper/ + 国内镜像:http://ant-design-vue.gitee.io/issue-helper/ 不是用上面的链接创建的 issue 会被立即关闭。 --> diff --git a/.github/ISSUE_TEMPLATE/----please-use-new-issue-ant-design-vue---.md b/.github/ISSUE_TEMPLATE/----please-use-new-issue-ant-design-vue---.md index 4f920a141..41306aa0d 100644 --- a/.github/ISSUE_TEMPLATE/----please-use-new-issue-ant-design-vue---.md +++ b/.github/ISSUE_TEMPLATE/----please-use-new-issue-ant-design-vue---.md @@ -10,4 +10,4 @@ The issue which is not created via https://vuecomponent.github.io/issue-helper/ --- -注意:不是用 https://vuecomponent.github.io/issue-helper/ 或 http://tangjinzhou.gitee.io/issue-helper/ 创建的 issue 会被立即关闭。 +注意:不是用 https://vuecomponent.github.io/issue-helper/ 或 http://ant-design-vue.gitee.io/issue-helper/ 创建的 issue 会被立即关闭。 diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 34a053d4c..32a7b0fa6 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -48,8 +48,8 @@ ### Component features and styles are synchronized to antd version 3.11.6. 1.3.0 brings two new Components, a lot of exciting changes and new features. -- 🔥 Added a new component [Comment](https://vuecomponent.github.io/ant-design-vue/components/comment/)。 -- 🔥 dded a new component [ConfigProvider](https://vuecomponent.github.io/ant-design-vue/components/config-provider/) for user to customize some global setting. +- 🔥 Added a new component [Comment](https://vue.ant.design/components/comment/)。 +- 🔥 dded a new component [ConfigProvider](https://vue.ant.design/components/config-provider/) for user to customize some global setting. Component Fixes / Enhancements: diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index c50aaa8c5..52d8e8b84 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -48,8 +48,8 @@ ### 组件功能和样式同步到 antd 3.11.6 版本。 1.3.0 版本带来了两个新组件,还有很多激动人心的变化和新特性。 -- 🔥 增加了一个新组件 [Comment](https://vuecomponent.github.io/ant-design-vue/components/comment-cn/)。 -- 🔥 增加了一个新组件 [ConfigProvider](https://vuecomponent.github.io/ant-design-vue/components/config-provider-cn/) 为组件提供统一的全局化配置。 +- 🔥 增加了一个新组件 [Comment](https://vue.ant.design/components/comment-cn/)。 +- 🔥 增加了一个新组件 [ConfigProvider](https://vue.ant.design/components/config-provider-cn/) 为组件提供统一的全局化配置。 组件修复/功能增强: diff --git a/README-zh_CN.md b/README-zh_CN.md index d87059d3b..eb6307d34 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -1,11 +1,11 @@

- - + +

- Ant Design Vue + Ant Design Vue

@@ -24,9 +24,9 @@ An enterprise-class UI components based on Ant Design and Vue.
-[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](https://vuecomponent.github.io/ant-design-vue/) +[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](https://vue.ant.design/) -[English](./README.md) | 简体中文 | [官网国内镜像](http://tangjinzhou.gitee.io/ant-design-vue/docs/vue/introduce-cn/) +[English](./README.md) | 简体中文 | [官网国内镜像](http://ant-design-vue.gitee.io/docs/vue/introduce-cn/)

Special thanks to the generous sponsorship by: @@ -66,7 +66,7 @@ $ yarn add ant-design-vue ## 链接 -- [首页](https://vuecomponent.github.io/ant-design-vue/) +- [首页](https://vue.ant.design/) - [Vue官方文档](https://cn.vuejs.org/) - [Antd React](http://ant.design/) diff --git a/README.md b/README.md index 986a91208..9698bd87f 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@

- - + +

- Ant Design Vue + Ant Design Vue

@@ -24,9 +24,9 @@ An enterprise-class UI components based on Ant Design and Vue.
-[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](https://vuecomponent.github.io/ant-design-vue/) +[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](https://vue.ant.design/) -English | [简体中文](./README-zh_CN.md) | [官网国内镜像](http://tangjinzhou.gitee.io/ant-design-vue/docs/vue/introduce-cn/) +English | [简体中文](./README-zh_CN.md) | [官网国内镜像](http://ant-design-vue.gitee.io/docs/vue/introduce-cn/)

Special thanks to the generous sponsorship by: @@ -66,7 +66,7 @@ If you are in a bad network environment,you can try other registries and tools ## Links -- [Home page](https://vuecomponent.github.io/ant-design-vue/) +- [Home page](https://vue.ant.design/) - [Vue](https://vuejs.org/) - [Ant Design React](http://ant.design/) diff --git a/components/date-picker/index.en-US.md b/components/date-picker/index.en-US.md index 290c69eb9..e2db21e3d 100644 --- a/components/date-picker/index.en-US.md +++ b/components/date-picker/index.en-US.md @@ -62,7 +62,7 @@ The following APIs are shared by DatePicker, MonthPicker, RangePicker, WeekPicke | disabledTime | to specify the time that cannot be selected | function(date) | - | | format | to set the date format, refer to [moment.js](http://momentjs.com/) | string | "YYYY-MM-DD" | | renderExtraFooter | render extra footer in panel by setting a scoped slot | slot="renderExtraFooter" | - | -| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/ant-design-vue/components/time-picker/#API) | +| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/components/time-picker/#API) | | showTime.defaultValue | to set default time of selected date | [moment](http://momentjs.com/) | moment() | | showToday | whether to show "Today" button | boolean | true | | value(v-model) | to set date | [moment](http://momentjs.com/) | - | @@ -114,7 +114,7 @@ The following APIs are shared by DatePicker, MonthPicker, RangePicker, WeekPicke | format | to set the date format | string | "YYYY-MM-DD HH:mm:ss" | | ranges | preseted ranges for quick selection | { \[range: string]: [moment](http://momentjs.com/)\[] } \| { \[range: string]: () => [moment](http://momentjs.com/)\[] } | - | | renderExtraFooter | render extra footer in panel by setting a scoped slot| slot="renderExtraFooter" | - | -| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/ant-design-vue/components/time-picker/#API) | +| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/components/time-picker/#API) | | showTime.defaultValue | to set default time of selected date, [demo](https://ant.design/components/date-picker/#components-date-picker-demo-disabled-date) | [moment](http://momentjs.com/)\[] | \[moment(), moment()] | | value(v-model) | to set date | \[[moment](http://momentjs.com/), [moment](http://momentjs.com/)] | - | diff --git a/components/date-picker/index.zh-CN.md b/components/date-picker/index.zh-CN.md index a1cd98787..ea2bbcaa1 100644 --- a/components/date-picker/index.zh-CN.md +++ b/components/date-picker/index.zh-CN.md @@ -62,7 +62,7 @@ moment.locale('zh-cn'); | disabledTime | 不可选择的时间 | function(date) | 无 | | format | 设置日期格式,为数组时支持多格式匹配,展示以第一个为准。配置参考 [moment.js](http://momentjs.com/) | string \| string[] | "YYYY-MM-DD" | | renderExtraFooter | 在面板中添加额外的页脚 | slot="renderExtraFooter" | - | -| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/ant-design-vue/components/time-picker-cn/#API) | +| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/components/time-picker-cn/#API) | | showTime.defaultValue | 设置用户选择日期时默认的时分秒 | [moment](http://momentjs.com/) | moment() | | showToday | 是否展示“今天”按钮 | boolean | true | | value(v-model) | 日期 | [moment](http://momentjs.com/) | 无 | @@ -116,7 +116,7 @@ moment.locale('zh-cn'); | format | 展示的日期格式 | string | "YYYY-MM-DD HH:mm:ss" | | ranges       | 预设时间范围快捷选择 | { \[range: string]: [moment](http://momentjs.com/)\[] } \| { \[range: string]: () => [moment](http://momentjs.com/)\[] } | 无 | | renderExtraFooter | 在面板中添加额外的页脚 | slot="renderExtraFooter" | - | -| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/ant-design-vue/components/time-picker-cn/#API) | +| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/components/time-picker-cn/#API) | | showTime.defaultValue | 设置用户选择日期时默认的时分秒 | [moment](http://momentjs.com/)\[] | \[moment(), moment()] | | value(v-model) | 日期 | [moment](http://momentjs.com/)\[] | 无 | diff --git a/components/drawer/__tests__/__snapshots__/demo.test.js.snap b/components/drawer/__tests__/__snapshots__/demo.test.js.snap index d470284fd..dd28153b9 100644 --- a/components/drawer/__tests__/__snapshots__/demo.test.js.snap +++ b/components/drawer/__tests__/__snapshots__/demo.test.js.snap @@ -36,7 +36,7 @@ exports[`renders ./components/drawer/demo/user-profile.md correctly 1`] = `

-

Lily

+

Lily

Progresser AFX
@@ -48,7 +48,7 @@ exports[`renders ./components/drawer/demo/user-profile.md correctly 1`] = `
-

Lily

+

Lily

Progresser AFX
diff --git a/components/drawer/demo/user-profile.md b/components/drawer/demo/user-profile.md index 98216f740..b8e519803 100644 --- a/components/drawer/demo/user-profile.md +++ b/components/drawer/demo/user-profile.md @@ -27,7 +27,7 @@ Use when you need to quickly preview the outline of the object. Such as list ite - {{item.name}} + {{item.name}} diff --git a/components/dropdown/index.en-US.md b/components/dropdown/index.en-US.md index 059bc28cf..ff924abf0 100644 --- a/components/dropdown/index.en-US.md +++ b/components/dropdown/index.en-US.md @@ -6,7 +6,7 @@ | -------- | ----------- | ---- | ------- | | disabled | whether the dropdown menu is disabled | boolean | - | | getPopupContainer | to set the container of the dropdown menu. The default is to create a `div` element in `body`, you can reset it to the scrolling area and make a relative reposition. [example](https://codepen.io/afc163/pen/zEjNOy?editors=0010) | Function(triggerNode) | `() => document.body` | -| overlay(slot) | the dropdown menu | [Menu](/ant-design-vue/components/menu) | - | +| overlay(slot) | the dropdown menu | [Menu](/components/menu) | - | | overlayClassName | Class name of the dropdown root element | string | - | | overlayStyle | Style of the dropdown root element | object | - | | placement | placement of pop menu: `bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` | @@ -18,7 +18,7 @@ | --- | --- | --- | | visibleChange | a callback function takes an argument: `visible`, is executed when the visible state is changed | function(visible) | -You should use [Menu](/ant-design-vue/components/menu/) as `overlay`. The menu items and dividers are also available by using `Menu.Item` and `Menu.Divider`. +You should use [Menu](/components/menu/) as `overlay`. The menu items and dividers are also available by using `Menu.Item` and `Menu.Divider`. > Warning: You must set a unique `key` for `Menu.Item`. > @@ -29,11 +29,11 @@ You should use [Menu](/ant-design-vue/components/menu/) as `overlay`. The menu i | Property | Description | Type | Default | | -------- | ----------- | ---- | ------- | | disabled | whether the dropdown menu is disabled | boolean | - | -| overlay(slot) | the dropdown menu | [Menu](/ant-design-vue/components/menu) | - | +| overlay(slot) | the dropdown menu | [Menu](/components/menu) | - | | placement | placement of pop menu: `bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` | -| size | size of the button, the same as [Button](/ant-design-vue/components/button) | string | `default` | +| size | size of the button, the same as [Button](/components/button) | string | `default` | | trigger | the trigger mode which executes the drop-down action | Array<`click`\|`hover`\|`contextmenu`> | `['hover']` | -| type | type of the button, the same as [Button](/ant-design-vue/components/button) | string | `default` | +| type | type of the button, the same as [Button](/components/button) | string | `default` | | visible | whether the dropdown menu is visible | boolean | - | @@ -41,5 +41,5 @@ You should use [Menu](/ant-design-vue/components/menu/) as `overlay`. The menu i ### Dropdown.Button events | Events Name | Description | Arguments | | --- | --- | --- | -| click | a callback function, the same as [Button](/ant-design-vue/components/button), which will be executed when you click the button on the left | Function | +| click | a callback function, the same as [Button](/components/button), which will be executed when you click the button on the left | Function | | visibleChange | a callback function takes an argument: `visible`, is executed when the visible state is changed | Function | diff --git a/components/dropdown/index.zh-CN.md b/components/dropdown/index.zh-CN.md index ef9ebc5ba..ae2d62e29 100644 --- a/components/dropdown/index.zh-CN.md +++ b/components/dropdown/index.zh-CN.md @@ -6,14 +6,14 @@ | --- | --- | --- | --- | | disabled | 菜单是否禁用 | boolean | - | | getPopupContainer | 菜单渲染父节点。默认渲染到 body 上,如果你遇到菜单滚动定位问题,试试修改为滚动的区域,并相对其定位。 | Function(triggerNode) | `() => document.body` | -| overlay(slot) | 菜单 | [Menu](/ant-design-vue/components/menu-cn) | - | +| overlay(slot) | 菜单 | [Menu](/components/menu-cn) | - | | overlayClassName | 下拉根元素的类名称 | string | - | | overlayStyle | 下拉根元素的样式 | object | - | | placement | 菜单弹出位置:`bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` | | trigger | 触发下拉的行为 | Array<`click`\|`hover`\|`contextmenu`> | `['hover']` | | visible(v-model) | 菜单是否显示 | boolean | - | -`overlay` 菜单使用 [Menu](/ant-design-vue/components/menu-cn/),还包括菜单项 `Menu.Item`,分割线 `Menu.Divider`。 +`overlay` 菜单使用 [Menu](/components/menu-cn/),还包括菜单项 `Menu.Item`,分割线 `Menu.Divider`。 > 注意: Menu.Item 必须设置唯一的 key 属性。 > @@ -30,15 +30,15 @@ | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | | disabled | 菜单是否禁用 | boolean | - | -| overlay(slot) | 菜单 | [Menu](/ant-design-vue/components/menu-cn/) | - | +| overlay(slot) | 菜单 | [Menu](/components/menu-cn/) | - | | placement | 菜单弹出位置:`bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` | -| size | 按钮大小,和 [Button](/ant-design-vue/components/button-cn/) 一致 | string | 'default' | +| size | 按钮大小,和 [Button](/components/button-cn/) 一致 | string | 'default' | | trigger | 触发下拉的行为 | Array<`click`\|`hover`\|`contextmenu`> | `['hover']` | -| type | 按钮类型,和 [Button](/ant-design-vue/components/button-cn/) 一致 | string | 'default' | +| type | 按钮类型,和 [Button](/components/button-cn/) 一致 | string | 'default' | | visible(v-model) | 菜单是否显示 | boolean | - | ### Dropdown.Button事件 | 事件名称 | 说明 | 回调参数 | | --- | --- | --- | -| click | 点击左侧按钮的回调,和 [Button](/ant-design-vue/components/button-cn/) 一致 | Function | +| click | 点击左侧按钮的回调,和 [Button](/components/button-cn/) 一致 | Function | | visibleChange | 菜单显示状态改变时调用,参数为 visible | function(visible) | diff --git a/components/form/demo/customized-form-controls.vue b/components/form/demo/customized-form-controls.vue index 74e98b498..524ac1e0e 100644 --- a/components/form/demo/customized-form-controls.vue +++ b/components/form/demo/customized-form-controls.vue @@ -1,16 +1,16 @@ #### 自定义表单控件 自定义或第三方的表单控件,也可以与 Form 组件一起使用。只要该组件遵循以下的约定: -> * 提供受控属性 `value` 或其它与 [`valuePropName`](/ant-design-vue/components/form-cn/#getFieldDecorator(id,-options)-参数) 的值同名的属性。 -> * 提供 `onChange` 事件或 [`trigger`](/ant-design-vue/components/form-cn/#getFieldDecorator(id,-options)-参数) 的值同名的事件。 +> * 提供受控属性 `value` 或其它与 [`valuePropName`](/components/form-cn/#getFieldDecorator(id,-options)-参数) 的值同名的属性。 +> * 提供 `onChange` 事件或 [`trigger`](/components/form-cn/#getFieldDecorator(id,-options)-参数) 的值同名的事件。 > * 不能是函数式组件。 #### Customized Form Controls Customized or third-party form controls can be used in Form, too. Controls must follow these conventions: -> * It has a controlled property `value` or other name which is equal to the value of [`valuePropName`](/ant-design-vue/components/form/#getFieldDecorator(id,-options)-parameters). -> * It has event `onChange` or an event which name is equal to the value of [`trigger`](/ant-design-vue/components/form/#getFieldDecorator(id,-options)-parameters). +> * It has a controlled property `value` or other name which is equal to the value of [`valuePropName`](/components/form/#getFieldDecorator(id,-options)-parameters). +> * It has event `onChange` or an event which name is equal to the value of [`trigger`](/components/form/#getFieldDecorator(id,-options)-parameters). > * It must be a class component. diff --git a/components/form/index.en-US.md b/components/form/index.en-US.md index 622d5794d..0af4547d0 100644 --- a/components/form/index.en-US.md +++ b/components/form/index.en-US.md @@ -172,10 +172,10 @@ Note: If Form.Item has multiple children that had been decorated by `getFieldDec | hasFeedback | Used with `validateStatus`, this option specifies the validation status icon. Recommended to be used only with `Input`. | boolean | false | | help | The prompt message. If not provided, the prompt message will be generated by the validation rule. | string\|slot | | | label | Label text | string\|slot | | -| labelCol | The layout of label. You can set `span` `offset` to something like `{span: 3, offset: 12}` or `sm: {span: 3, offset: 12}` same as with `` | [object](/ant-design-vue/components/grid/#Col) | | +| labelCol | The layout of label. You can set `span` `offset` to something like `{span: 3, offset: 12}` or `sm: {span: 3, offset: 12}` same as with `` | [object](/components/grid/#Col) | | | required | Whether provided or not, it will be generated by the validation rule. | boolean | false | | validateStatus | The validation status. If not provided, it will be generated by validation rule. options: 'success' 'warning' 'error' 'validating' | string | | -| wrapperCol | The layout for input controls, same as `labelCol` | [object](/ant-design-vue/components/grid/#Col) | | +| wrapperCol | The layout for input controls, same as `labelCol` | [object](/components/grid/#Col) | | ### Validation Rules diff --git a/components/form/index.zh-CN.md b/components/form/index.zh-CN.md index 43f23b859..27a551076 100644 --- a/components/form/index.zh-CN.md +++ b/components/form/index.zh-CN.md @@ -170,10 +170,10 @@ validateFields(['field1', 'field2'], options, (errors, values) => { | hasFeedback | 配合 validateStatus 属性使用,展示校验状态图标,建议只配合 Input 组件使用 | boolean | false | | help | 提示信息,如不设置,则会根据校验规则自动生成 | string\|slot | | | label | label 标签的文本 | string\|slot | | -| labelCol | label 标签布局,同 `` 组件,设置 `span` `offset` 值,如 `{span: 3, offset: 12}` 或 `sm: {span: 3, offset: 12}` | [object](/ant-design-vue/components/grid-cn/#Col) | | +| labelCol | label 标签布局,同 `` 组件,设置 `span` `offset` 值,如 `{span: 3, offset: 12}` 或 `sm: {span: 3, offset: 12}` | [object](/components/grid-cn/#Col) | | | required | 是否必填,如不设置,则会根据校验规则自动生成 | boolean | false | | validateStatus | 校验状态,如不设置,则会根据校验规则自动生成,可选:'success' 'warning' 'error' 'validating' | string | | -| wrapperCol | 需要为输入控件设置布局样式时,使用该属性,用法同 labelCol | [object](/ant-design-vue/components/grid-cn/#Col) | | +| wrapperCol | 需要为输入控件设置布局样式时,使用该属性,用法同 labelCol | [object](/components/grid-cn/#Col) | | ### 校验规则 diff --git a/components/input/demo/tooltip.md b/components/input/demo/tooltip.md index 75db3ed09..63a9f56e5 100644 --- a/components/input/demo/tooltip.md +++ b/components/input/demo/tooltip.md @@ -1,12 +1,12 @@ #### 输入时格式化展示 -结合 [Tooltip](/ant-design-vue/components/tooltip-cn/) 组件,实现一个数值输入框,方便内容超长时的全量展现。 +结合 [Tooltip](/components/tooltip-cn/) 组件,实现一个数值输入框,方便内容超长时的全量展现。 #### Format Tooltip Input -You can use the Input in conjunction with [Tooltip](/ant-design-vue/components/tooltip/) component to create a Numeric Input, which can provide a good experience for extra-long content display. +You can use the Input in conjunction with [Tooltip](/components/tooltip/) component to create a Numeric Input, which can provide a good experience for extra-long content display. ```html diff --git a/components/layout/demo/index.vue b/components/layout/demo/index.vue index ba671b851..d98da04be 100644 --- a/components/layout/demo/index.vue +++ b/components/layout/demo/index.vue @@ -131,9 +131,9 @@ export default { provide () { return { iframeDemo: !this.iframeName ? { - 'fixed-sider': '/ant-design-vue/iframe/layout/#fixed-sider', - 'fixed-header': '/ant-design-vue/iframe/layout/#fixed-header', - 'sider': '/ant-design-vue/iframe/layout/#sider', + 'fixed-sider': '/iframe/layout/#fixed-sider', + 'fixed-header': '/iframe/layout/#fixed-header', + 'sider': '/iframe/layout/#sider', } : {}, }; }, diff --git a/components/layout/index.zh-CN.md b/components/layout/index.zh-CN.md index ab1d407ed..1e80d253d 100644 --- a/components/layout/index.zh-CN.md +++ b/components/layout/index.zh-CN.md @@ -31,7 +31,7 @@ | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | -| breakpoint | 触发响应式布局的[断点](/ant-design-vue/components/grid#API) | Enum { 'xs', 'sm', 'md', 'lg', 'xl', 'xxl' } | - | +| breakpoint | 触发响应式布局的[断点](/components/grid#API) | Enum { 'xs', 'sm', 'md', 'lg', 'xl', 'xxl' } | - | | class | 容器 class | string | - | | collapsed(v-model) | 当前收起状态 | boolean | - | | collapsedWidth | 收缩宽度,设置为 0 会出现特殊 trigger | number | 80 | @@ -47,7 +47,7 @@ | 事件名称 | 说明 | 回调参数 | | --- | --- | --- | | collapse | 展开-收起时的回调函数,有点击 trigger 以及响应式反馈两种方式可以触发 | (collapsed, type) => {} | -| breakpoint | 触发响应式布局[断点](/ant-design-vue/components/grid#api)时的回调 | (broken) => {} | +| breakpoint | 触发响应式布局[断点](/components/grid#api)时的回调 | (broken) => {} | #### breakpoint width diff --git a/components/list/__tests__/__snapshots__/demo.test.js.snap b/components/list/__tests__/__snapshots__/demo.test.js.snap index 8ac60cda0..f827c19fc 100644 --- a/components/list/__tests__/__snapshots__/demo.test.js.snap +++ b/components/list/__tests__/__snapshots__/demo.test.js.snap @@ -8,7 +8,7 @@ exports[`renders ./components/list/demo/basic.md correctly 1`] = `
-

Ant Design Title 1

+

Ant Design Title 1

Ant Design, a design language for background applications, is refined by Ant UED Team
@@ -17,7 +17,7 @@ exports[`renders ./components/list/demo/basic.md correctly 1`] = `
-

Ant Design Title 2

+

Ant Design Title 2

Ant Design, a design language for background applications, is refined by Ant UED Team
@@ -26,7 +26,7 @@ exports[`renders ./components/list/demo/basic.md correctly 1`] = `
-

Ant Design Title 3

+

Ant Design Title 3

Ant Design, a design language for background applications, is refined by Ant UED Team
@@ -35,7 +35,7 @@ exports[`renders ./components/list/demo/basic.md correctly 1`] = `
-

Ant Design Title 4

+

Ant Design Title 4

Ant Design, a design language for background applications, is refined by Ant UED Team
@@ -347,7 +347,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
-

ant design vue part 0

+

ant design vue part 0

Ant Design, a design language for background applications, is refined by Ant UED Team.
@@ -375,7 +375,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
-

ant design vue part 1

+

ant design vue part 1

Ant Design, a design language for background applications, is refined by Ant UED Team.
@@ -403,7 +403,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
-

ant design vue part 2

+

ant design vue part 2

Ant Design, a design language for background applications, is refined by Ant UED Team.
diff --git a/components/list/demo/basic.md b/components/list/demo/basic.md index 42b9ac5af..fe198e67f 100644 --- a/components/list/demo/basic.md +++ b/components/list/demo/basic.md @@ -18,7 +18,7 @@ Basic list. - {{item.title}} + {{item.title}} diff --git a/components/list/demo/loadmore.md b/components/list/demo/loadmore.md index bd8662294..f3d443974 100644 --- a/components/list/demo/loadmore.md +++ b/components/list/demo/loadmore.md @@ -26,7 +26,7 @@ Load more list with `loadMore` property. - {{item.name.last}} + {{item.name.last}}
content
diff --git a/components/list/demo/resposive.md b/components/list/demo/resposive.md index f38cb8fbc..24bc23f87 100644 --- a/components/list/demo/resposive.md +++ b/components/list/demo/resposive.md @@ -1,11 +1,11 @@ #### 响应式的栅格列表 -响应式的栅格列表。尺寸与 [Layout Grid](https://vuecomponent.github.io/ant-design-vue/components/grid-cn/#Col) 保持一致。 +响应式的栅格列表。尺寸与 [Layout Grid](https://vue.ant.design/components/grid-cn/#Col) 保持一致。 #### Responsive grid list -Responsive grid list. The size property is as same as [Layout Grid](https://vuecomponent.github.io/ant-design-vue/components/grid/#Col). +Responsive grid list. The size property is as same as [Layout Grid](https://vue.ant.design/components/grid/#Col). ```html diff --git a/components/list/demo/vertical.md b/components/list/demo/vertical.md index ec8cadbe5..827c35a58 100644 --- a/components/list/demo/vertical.md +++ b/components/list/demo/vertical.md @@ -39,7 +39,7 @@ Setting `itemLayout` property with `vertical` to create a vertical list. const listData = [] for (let i = 0; i < 23; i++) { listData.push({ - href: 'https://vuecomponent.github.io/ant-design-vue/', + href: 'https://vue.ant.design/', title: `ant design vue part ${i}`, avatar: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png', description: 'Ant Design, a design language for background applications, is refined by Ant UED Team.', diff --git a/components/list/index.en-US.md b/components/list/index.en-US.md index e3987df31..2e996f90e 100644 --- a/components/list/index.en-US.md +++ b/components/list/index.en-US.md @@ -10,10 +10,10 @@ | grid | The grid type of list. You can set grid to something like {gutter: 16, column: 4} | object | - | | header | List header renderer | string\|slot | - | | itemLayout | The layout of list, default is `horizontal`, If a vertical list is desired, set the itemLayout property to `vertical` | string | - | -| loading | Shows a loading indicator while the contents of the list are being fetched | boolean\|[object](https://vuecomponent.github.io/ant-design-vue/components/spin/#API) | false | +| loading | Shows a loading indicator while the contents of the list are being fetched | boolean\|[object](https://vue.ant.design/components/spin/#API) | false | | loadMore | Shows a load more content | string\|slot | - | | locale | i18n text including empty text | object | emptyText: 'No Data'
| -| pagination | Pagination [config](https://vuecomponent.github.io/ant-design-vue/components/pagination/#API), hide it by setting it to false | boolean \| object | false | +| pagination | Pagination [config](https://vue.ant.design/components/pagination/#API), hide it by setting it to false | boolean \| object | false | | split | Toggles rendering of the split under the list item | boolean | true | | renderItem | Custom item renderer, slot="renderItem" and slot-scope="item, index" | (item, index) => vNode | | - | | rowKey | Specify the key that will be used for uniquely identify each element | item => string\|number | | @@ -26,7 +26,7 @@ Properties for pagination. | -------- | ----------- | ---- | ------- | | position | specify the position of `Pagination` | 'top' \| 'bottom' \| 'both' | 'bottom' | -More about pagination, please check [`Pagination`](https://vuecomponent.github.io/ant-design-vue/components/pagination/#API). +More about pagination, please check [`Pagination`](https://vue.ant.design/components/pagination/#API). ### List grid props diff --git a/components/list/index.zh-CN.md b/components/list/index.zh-CN.md index 0b30aba9d..5d88da294 100644 --- a/components/list/index.zh-CN.md +++ b/components/list/index.zh-CN.md @@ -10,10 +10,10 @@ | grid | 列表栅格配置 | object | - | | header | 列表头部 | string\|slot | - | | itemLayout | 设置 `List.Item` 布局, 设置成 `vertical` 则竖直样式显示, 默认横排 | string | - | -| loading | 当卡片内容还在加载中时,可以用 `loading` 展示一个占位 | boolean\|[object](https://vuecomponent.github.io/ant-design-vue/components/spin-cn/#API) | false | +| loading | 当卡片内容还在加载中时,可以用 `loading` 展示一个占位 | boolean\|[object](https://vue.ant.design/components/spin-cn/#API) | false | | loadMore | 加载更多 | string\|slot | - | | locale | 默认文案设置,目前包括空数据文案 | object | emptyText: '暂无数据' | -| pagination | 对应的 `pagination` [配置]((https://vuecomponent.github.io/ant-design-vue/components/pagination-cn/#API)), 设置 `false` 不显示 | boolean\|object | false | +| pagination | 对应的 `pagination` [配置]((https://vue.ant.design/components/pagination-cn/#API)), 设置 `false` 不显示 | boolean\|object | false | | size | list 的尺寸 | `default` \| `middle` \| `small` | `default` | | split | 是否展示分割线 | boolean | true | | renderItem | 自定义`Item`函数,也可使用slot="renderItem" 和 slot-scope="item, index" | (item, index) => vNode | | - | @@ -27,7 +27,7 @@ | --- | --- | --- | --- | | position | 指定分页显示的位置 | 'top' \| 'bottom' \| 'both' | 'bottom' | -更多配置项,请查看 [`Pagination`](https://vuecomponent.github.io/ant-design-vue/components/pagination-cn/#API)。 +更多配置项,请查看 [`Pagination`](https://vue.ant.design/components/pagination-cn/#API)。 ### List grid props diff --git a/components/modal/index.en-US.md b/components/modal/index.en-US.md index 9d76c3710..88b717a1b 100644 --- a/components/modal/index.en-US.md +++ b/components/modal/index.en-US.md @@ -17,8 +17,8 @@ | maskStyle | Style for modal's mask element. | object | {} | | okText | Text of the OK button | string\|slot | `OK` | | okType | Button `type` of the OK button | string | `primary` | -| okButtonProps | The ok button props, follow jsx [rules](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/ant-design-vue/components/button/#API), on: {}} | - | -| cancelButtonProps | The cancel button props, follow jsx [rules](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/ant-design-vue/components/button/#API), on: {}} | - | +| okButtonProps | The ok button props, follow jsx [rules](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/components/button/#API), on: {}} | - | +| cancelButtonProps | The cancel button props, follow jsx [rules](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/components/button/#API), on: {}} | - | | title | The modal dialog's title | string\|slot | - | | visible | Whether the modal dialog is visible or not | boolean | false | | width | Width of the modal dialog | string\|number | 520 | @@ -60,8 +60,8 @@ The properties of the object are follows: | maskClosable | Whether to close the modal dialog when the mask (area outside the modal) is clicked | Boolean | `false` | | okText | Text of the OK button | string | `OK` | | okType | Button `type` of the OK button | string | `primary` | -| okButtonProps | The ok button props | [ButtonProps](/ant-design-vue/components/button) | - | -| cancelButtonProps | The cancel button props | [ButtonProps](/ant-design-vue/components/button) | - | +| okButtonProps | The ok button props | [ButtonProps](/components/button) | - | +| cancelButtonProps | The cancel button props | [ButtonProps](/components/button) | - | | title | Title | string\|vNode | - | | width | Width of the modal dialog | string\|number | 416 | | zIndex | The `z-index` of the Modal | Number | 1000 | diff --git a/components/modal/index.zh-CN.md b/components/modal/index.zh-CN.md index fe8892505..28b87d4be 100644 --- a/components/modal/index.zh-CN.md +++ b/components/modal/index.zh-CN.md @@ -17,8 +17,8 @@ | maskStyle | 遮罩样式 | object | {} | | okText | 确认按钮文字 | string\|slot | 确定 | | okType | 确认按钮类型 | string | primary | -| okButtonProps | ok 按钮 props, 遵循jsx[规范](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/ant-design-vue/components/button/#API), on: {}} | - | -| cancelButtonProps | cancel 按钮 props, 遵循jsx[规范](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/ant-design-vue/components/button/#API), on: {}} | - | +| okButtonProps | ok 按钮 props, 遵循jsx[规范](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/components/button/#API), on: {}} | - | +| cancelButtonProps | cancel 按钮 props, 遵循jsx[规范](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/components/button/#API), on: {}} | - | | title | 标题 | string\|slot | 无 | | visible(v-model) | 对话框是否可见 | boolean | 无 | | width | 宽度 | string\|number | 520 | @@ -59,8 +59,8 @@ | keyboard | 是否支持键盘esc关闭 | boolean | true | | okText | 确认按钮文字 | string | 确定 | | okType | 确认按钮类型 | string | primary | -| okButtonProps | ok 按钮 props | [ButtonProps](/ant-design-vue/components/button) | - | -| cancelButtonProps | cancel 按钮 props | [ButtonProps](/ant-design-vue/components/button) | - | +| okButtonProps | ok 按钮 props | [ButtonProps](/components/button) | - | +| cancelButtonProps | cancel 按钮 props | [ButtonProps](/components/button) | - | | title | 标题 | string\|vNode | 无 | | width | 宽度 | string\|number | 416 | | zIndex | 设置 Modal 的 `z-index` | Number | 1000 | diff --git a/components/popconfirm/index.en-US.md b/components/popconfirm/index.en-US.md index 1c884bd8d..9e4d96c78 100644 --- a/components/popconfirm/index.en-US.md +++ b/components/popconfirm/index.en-US.md @@ -15,7 +15,7 @@ | confirm | callback of confirmation | function(e) | - | | visibleChange | Callback executed when visibility of the tooltip card is changed | function(visible) | - | -Consult [Tooltip's documentation](/ant-design-vue/components/tooltip/#API) to find more APIs. +Consult [Tooltip's documentation](/components/tooltip/#API) to find more APIs. ## Note diff --git a/components/popconfirm/index.zh-CN.md b/components/popconfirm/index.zh-CN.md index 8be2a0aa7..7418d6680 100644 --- a/components/popconfirm/index.zh-CN.md +++ b/components/popconfirm/index.zh-CN.md @@ -15,7 +15,7 @@ | confirm | 点击确认的回调 | function(e) | | visibleChange | 显示隐藏的回调 | function(visible) | -更多属性请参考 [Tooltip](/ant-design-vue/components/tooltip-cn/#API)。 +更多属性请参考 [Tooltip](/components/tooltip-cn/#API)。 ## 注意 diff --git a/components/popover/index.en-US.md b/components/popover/index.en-US.md index d647039e2..5c1b5dfb7 100644 --- a/components/popover/index.en-US.md +++ b/components/popover/index.en-US.md @@ -6,7 +6,7 @@ | content | Content of the card | string\|slot\|vNode | - | | title | Title of the card | string\|slot\|VNode | - | -Consult [Tooltip's documentation](/ant-design-vue/components/tooltip/#API) to find more APIs. +Consult [Tooltip's documentation](/components/tooltip/#API) to find more APIs. ## Note diff --git a/components/popover/index.zh-CN.md b/components/popover/index.zh-CN.md index 84751180a..bf2129789 100644 --- a/components/popover/index.zh-CN.md +++ b/components/popover/index.zh-CN.md @@ -6,7 +6,7 @@ | content | 卡片内容 | string\|slot\|VNode | 无 | | title | 卡片标题 | string\|slot\|VNode | 无 | -更多属性请参考 [Tooltip](/ant-design-vue/components/tooltip-cn/#API)。 +更多属性请参考 [Tooltip](/components/tooltip-cn/#API)。 ## 注意 diff --git a/components/select/demo/coordinate.md b/components/select/demo/coordinate.md index e37f5cca9..cc8e363df 100644 --- a/components/select/demo/coordinate.md +++ b/components/select/demo/coordinate.md @@ -2,13 +2,13 @@ #### 联动 省市联动是典型的例子。 -推荐使用 [Cascader](/ant-design-vue/components/cascader-cn/) 组件。 +推荐使用 [Cascader](/components/cascader-cn/) 组件。 #### coordinate Coordinating the selection of provinces and cities is a common use case and demonstrates how selection can be coordinated. -Using the [Cascader](/ant-design-vue/components/cascader) component is strongly recommended instead as it is more flexible and capable. +Using the [Cascader](/components/cascader) component is strongly recommended instead as it is more flexible and capable. ```html diff --git a/components/skeleton/demo/list.md b/components/skeleton/demo/list.md index e48f621b5..07f54e2a5 100644 --- a/components/skeleton/demo/list.md +++ b/components/skeleton/demo/list.md @@ -43,7 +43,7 @@ Use skeleton in list component. const listData = []; for (let i = 0; i < 3; i++) { listData.push({ - href: 'https://vuecomponent.github.io/ant-design-vue/', + href: 'https://vue.ant.design/', title: `ant design vue part ${i}`, avatar: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png', description: 'Ant Design, a design language for background applications, is refined by Ant UED Team.', diff --git a/components/slider/demo/input-number.md b/components/slider/demo/input-number.md index e72a09672..590ca8453 100644 --- a/components/slider/demo/input-number.md +++ b/components/slider/demo/input-number.md @@ -1,11 +1,11 @@ #### 带输入框的滑块 -和 [数字输入框](/ant-design-vue/components/input-number-cn/) 组件保持同步。 +和 [数字输入框](/components/input-number-cn/) 组件保持同步。 #### Slider with InputNumber -Synchronize with [InputNumber](/ant-design-vue/components/input-number/) component. +Synchronize with [InputNumber](/components/input-number/) component. ```html diff --git a/components/table/index.en-US.md b/components/table/index.en-US.md index 5555e12be..c05fc4c45 100644 --- a/components/table/index.en-US.md +++ b/components/table/index.en-US.md @@ -48,9 +48,9 @@ const columns = [{ | expandRowByClick | Whether to expand row by clicking anywhere in the whole row | boolean | `false` | | footer | Table footer renderer | Function(currentPageData)\|slot-scope | | | indentSize | Indent size in pixels of tree data | number | 15 | -| loading | Loading status of table | boolean\|[object](/ant-design-vue/components/spin) | `false` | +| loading | Loading status of table | boolean\|[object](/components/spin) | `false` | | locale | i18n text including filter, sort, empty text, etc | object | filterConfirm: 'Ok'
filterReset: 'Reset'
emptyText: 'No Data' | -| pagination | Pagination [config](#pagination) or [`Pagination`] (/ant-design-vue/components/pagination/), hide it by setting it to `false` | object | | +| pagination | Pagination [config](#pagination) or [`Pagination`] (/components/pagination/), hide it by setting it to `false` | object | | | rowClassName | Row's className | Function(record, index):string | - | | rowKey | Row's unique key, could be a string or function that returns a string | string\|Function(record):string | `key` | | rowSelection | Row selection [config](#rowSelection) | object | null | @@ -145,7 +145,7 @@ Properties for pagination. | -------- | ----------- | ---- | ------- | | position | specify the position of `Pagination` | 'top' \| 'bottom' \| 'both' | 'bottom' | -More about pagination, please check [`Pagination`](/ant-design-vue/components/pagination/). +More about pagination, please check [`Pagination`](/components/pagination/). ### rowSelection diff --git a/components/table/index.zh-CN.md b/components/table/index.zh-CN.md index c2ac92c7f..dc64f9e03 100644 --- a/components/table/index.zh-CN.md +++ b/components/table/index.zh-CN.md @@ -48,9 +48,9 @@ const columns = [{ | expandRowByClick | 通过点击行来展开子行 | boolean | `false` | | footer | 表格尾部 | Function(currentPageData)\|slot-scope | | | indentSize | 展示树形数据时,每层缩进的宽度,以 px 为单位 | number | 15 | -| loading | 页面是否加载中 | boolean\|[object](/ant-design-vue/components/spin-cn) | false | +| loading | 页面是否加载中 | boolean\|[object](/components/spin-cn) | false | | locale | 默认文案设置,目前包括排序、过滤、空数据文案 | object | filterConfirm: '确定'
filterReset: '重置'
emptyText: '暂无数据' | -| pagination | 分页器,参考[配置项](#pagination)或 [pagination](/ant-design-vue/components/pagination-cn/),设为 false 时不展示和进行分页 | object | | +| pagination | 分页器,参考[配置项](#pagination)或 [pagination](/components/pagination-cn/),设为 false 时不展示和进行分页 | object | | | rowClassName | 表格行的类名 | Function(record, index):string | - | | rowKey | 表格行 key 的取值,可以是字符串或一个函数 | string\|Function(record):string | 'key' | | rowSelection | 列表项是否可选择,[配置项](#rowSelection) | object | null | @@ -144,7 +144,7 @@ const columns = [{ | --- | --- | --- | --- | | position | 指定分页显示的位置 | 'top' \| 'bottom' \| 'both' | 'bottom' | -更多配置项,请查看 [`Pagination`](/ant-design-vue/components/pagination/)。 +更多配置项,请查看 [`Pagination`](/components/pagination/)。 ### rowSelection diff --git a/docs/vue/faq.en-US.md b/docs/vue/faq.en-US.md index 4d491cd58..0cf99702f 100644 --- a/docs/vue/faq.en-US.md +++ b/docs/vue/faq.en-US.md @@ -22,7 +22,7 @@ Second, if you don't use the form's automatic check/collection feature, ie you d ### How to modify the default theme of Ant Design Vue? -See [Customize Theme](/ant-design-vue/docs/vue/customize-theme/)。 +See [Customize Theme](/docs/vue/customize-theme/)。 ### How to optimize momentjs bundle size with webpack? diff --git a/docs/vue/faq.zh-CN.md b/docs/vue/faq.zh-CN.md index eb51c9449..d4dab5c3a 100644 --- a/docs/vue/faq.zh-CN.md +++ b/docs/vue/faq.zh-CN.md @@ -22,7 +22,7 @@ ### 如何修改 Ant Design Vue 的默认主题? -参考[主题定制](/ant-design-vue/docs/vue/customize-theme/)。 +参考[主题定制](/docs/vue/customize-theme/)。 ### 如何配置 webpack 以优化 momentjs 的打包大小? diff --git a/docs/vue/getting-started.en-US.md b/docs/vue/getting-started.en-US.md index 976409b8a..51a406728 100644 --- a/docs/vue/getting-started.en-US.md +++ b/docs/vue/getting-started.en-US.md @@ -132,7 +132,7 @@ And this plugin can load styles too, read [usage](https://github.com/ant-design/ ## Customization -- [Customize Theme](/ant-design-vue/docs/vue/customize-theme) +- [Customize Theme](/docs/vue/customize-theme) - [Local Iconfont](https://github.com/ant-design/antd-init/tree/master/examples/local-iconfont) ## Tips diff --git a/docs/vue/getting-started.zh-CN.md b/docs/vue/getting-started.zh-CN.md index 170800a43..8d85a32d1 100644 --- a/docs/vue/getting-started.zh-CN.md +++ b/docs/vue/getting-started.zh-CN.md @@ -139,7 +139,7 @@ import { Button } from 'ant-design-vue'; ## 配置主题和字体 -- [改变主题](/ant-design-vue/docs/vue/customize-theme-cn) +- [改变主题](/docs/vue/customize-theme-cn) - [使用本地字体](https://github.com/ant-design/antd-init/tree/master/examples/local-iconfont) ## 小贴士 diff --git a/docs/vue/i18n.en-US.md b/docs/vue/i18n.en-US.md index eec7e2665..62a7e73e4 100644 --- a/docs/vue/i18n.en-US.md +++ b/docs/vue/i18n.en-US.md @@ -6,7 +6,7 @@ If you want to use other languages, you can follow the instructions below. ## LocaleProvider -ant-design-vue provides a Vue Component [LocaleProvider](/ant-design-vue/components/locale-provider) for configuring ant-design-vue locale text globally. +ant-design-vue provides a Vue Component [LocaleProvider](/components/locale-provider) for configuring ant-design-vue locale text globally. ````html