@chenzoho/vue-antdv
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

andv

安装

pnpm i ant-design-vue@4.x
pnpm i -D unplugin-vue-components
pnpm i -D @chenzoho/vue-antdv

注册

import { configUnPlugin } from "@chenzoho/vue-antdv/shims"

export default defineConfig({
	plugins: [vue(), configUnPlugin()],
	css: {
		preprocessorOptions: {
			less: less()
		}
	}
})

使用

然后你可以在代码中直接引入 ant-design-vue 的组件,插件会自动将代码转化为 import { Button } from 'ant-design-vue' 的形式。

更新

  • 1.0.0
    • 初始版本
  • 1.0.2
    • 增加
      • dist
    • 移除
      • shims
  • 1.0.3
    • 增加
      • light
      • dark
      • namespace
      • primaryColor
  • 1.0.4
    • 移除
      • less.globalVars.hack
  • 1.0.5
    • 增加
      • dist
  • 1.0.6
    • 移除
      • shims之外的组件

Readme

Keywords

Package Sidebar

Install

npm i @chenzoho/vue-antdv

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

10.7 kB

Total Files

7

Last publish

Collaborators

  • dingyy
  • chenzehong