vue3、ts使用ant-design-vue

yarn add ant-design-vue@next

import { createApp } from "vue";
import App from "./App.vue";
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import router from "./router";
import store from "./store";

createApp(App)
  .use(store)
  .use(router)
  .use(Antd)
  .mount("#app");

你可能感兴趣的:(vue,vue)