vue3.0 怎么引入element UI
两种方式:1、npm install --save element-plus安装import { createApp } from 'vue' import App from './App.vue'import element from 'element-plus'import 'element-plus/lib/theme-chalk/index.css'const app = createAp
·
两种方式:
1、 npm install --save element-plus安装
import { createApp } from 'vue' import App from './App.vue'
import element from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css'
const app = createApp(App)
app.use(element)
2、vue add elementUI 生产plugins文件夹
更多推荐
已为社区贡献5条内容
所有评论(0)