1、首先用npm安装
npm i --save ant-design-vue
2、在main.js中添加引用
import { createApp } from 'vue'; import Antd from 'ant-design-vue'; import App from './App'; import 'ant-design-vue/dist/antd.css'; const app = createApp(App); app.use(Antd).mount('#app');
标签:vue,框架,app,ant,design,import,antd From: https://www.cnblogs.com/youyuan1980/p/17222780.html