麟の随笔

  • 游戏
  • 影视
  • Tech
  1. 首页
  2. 科技
  3. 前端
  4. 正文

SpringBoot + Vue3 + Ant Design 篇2 引用Ant Design

2022年1月6日 430点热度 1人点赞 0条评论

上一篇 :SpringBoot + Vue3 + Ant Design 篇1 搭建Vue3框架

添加ant design

  • 进入项目文件夹输入
    npm i --save ant-design-vue@next
  • 完成安装
    file

1. main.js添加Ant Design组件

import { createApp } from "vue";
import Antd from "ant-design-vue";
import App from "./App";
import "ant-design-vue/dist/antd.css";
import router from "./router";
import store from "./store";
const app = createApp(App);
app.config.productionTip = false;
app.use(router);
app.use(store);
app.use(Antd);
app.mount("#app");
标签: 暂无
最后更新:2022年1月6日

Kylin

必须有人浴血奋战,世上才有自由可言!

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

文章目录
  • 添加ant design
    • 1. main.js添加Ant Design组件

COPYRIGHT © 2023 kirinz.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

闽ICP备19013981号