elementui的使用步骤

使用包管理器

npm install element-plus --save

完整引入

// main.js
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'

const app = createApp(App)

app.use(ElementPlus)
app.mount('#app')
posted @ 2022-11-04 13:56  Sherwin_szw  阅读(29)  评论(0编辑  收藏  举报