@nuxtjs-extra/ant-design-vue
Advanced tools
Comparing version
{ | ||
"name": "@nuxtjs-extra/ant-design-vue", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Nuxt module for Ant Design Vue", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/dzcpy/nuxt-ant-design-vue", |
@@ -48,4 +48,17 @@ # @nuxtjs-extra/ant-design-vue | ||
} | ||
``` | ||
## How to use | ||
This module uses `@nuxtjs/components` internally. So there's no need to import any components in your `.vue` file. Just add an `A` prefix to any components and it will be automatically loaded: | ||
```vue | ||
<template> | ||
<AButton>Test</AButton> | ||
</template> | ||
<script></script> | ||
``` | ||
Enjoy! | ||
## License | ||
@@ -58,10 +71,8 @@ | ||
<!-- Badges --> | ||
[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs-extra/ant-design-vue/latest.svg?style=flat-square | ||
[npm-version-href]: https://npmjs.com/package/@nuxtjs-extra/ant-design-vue | ||
[npm-downloads-src]: https://img.shields.io/npm/dt/@nuxtjs-extra/ant-design-vue.svg?style=flat-square | ||
[npm-downloads-href]: https://npmjs.com/package/@nuxtjs-extra/ant-design-vue | ||
[license-src]: https://img.shields.io/npm/l/@nuxtjs-extra/ant-design-vue.svg?style=flat-square | ||
[license-href]: https://npmjs.com/package/@nuxtjs-extra/ant-design-vue | ||
``` |
90375
0.33%77
16.67%