update site
parent
9a463899fb
commit
350b941e83
|
@ -71,9 +71,9 @@ We provide `antd.js` `antd.css` and `antd.min.js` `antd.min.css` under `ant-desi
|
|||
## Usage
|
||||
|
||||
```jsx
|
||||
import Vue from 'vue'
|
||||
import Vue from 'vue';
|
||||
import { DatePicker } from 'ant-design-vue';
|
||||
Vue.component(DatePicker.name, DatePicker)
|
||||
Vue.use(DatePicker);
|
||||
```
|
||||
|
||||
And import stylesheets manually:
|
||||
|
|
|
@ -71,9 +71,9 @@ $ yarn add ant-design-vue
|
|||
## 示例
|
||||
|
||||
```jsx
|
||||
import Vue from 'vue'
|
||||
import Vue from 'vue';
|
||||
import { DatePicker } from 'ant-design-vue';
|
||||
Vue.component(DatePicker.name, DatePicker)
|
||||
Vue.use(DatePicker);
|
||||
```
|
||||
|
||||
引入样式:
|
||||
|
|
Loading…
Reference in New Issue