1.第一步先安装对应的elemen-plus
npm install element-plus
2.第二步在main.ts文件中引用对应的文件
mport ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/index.css'
app.use(ElementPlus)
3.可以直接使用element-plus的组件
<el-button>hahah </el-button>
4.对应的官网
1.第一步先安装对应的elemen-plus
npm install element-plus
2.第二步在main.ts文件中引用对应的文件
mport ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/index.css'
app.use(ElementPlus)
3.可以直接使用element-plus的组件
<el-button>hahah </el-button>
4.对应的官网