美文网首页
Element UI 基本使用

Element UI 基本使用

作者: 会飞的笨企鹅 | 来源:发表于2021-03-23 10:13 被阅读0次

Element ui 基本使用:

基于命令行方式:

1. 安装依赖包

npm i element-ui -S

2. 编译项目

npm run serve

3. 解决 To install it, you can run: npm install --save core-js/modules/es.object.to-string 报错

解决办法:更新依赖包

npm install core-js@3.6.4

4. 导入相关资源

// 手动配置element ui

import ElementUI from 'element-ui'

import 'element-ui/lib/theme-chalk/index.css'

Vue.use(ElementUI)

基于可视化页面:

相关文章

网友评论

      本文标题:Element UI 基本使用

      本文链接:https://www.haomeiwen.com/subject/xjwxhltx.html