vue脚手架搭建参考https://blog.csdn.net/qq_45001340/article/details/104317424
vue脚手架搭建完毕后,切换到项目目录下,在idea的命令窗口中执行

#推荐使用 npm 的方式安装,它能更好地和 webpack 打包工具配合使用。 npm i element-ui -S

在src/main.js文件中一如Element-ui

import ElementUI from ‘element-ui’ import
‘element-ui/lib/theme-chalk/index.css’

Vue.use(ElementUI) //使其生效:

vue集成element-UI

相关文章:

  • 2019-08-26
  • 2021-11-29
  • 2021-11-11
  • 2021-08-09
  • 2021-08-04
  • 2021-08-04
  • 2021-11-21
猜你喜欢
  • 2021-08-30
  • 2021-12-26
  • 2021-09-30
  • 2021-11-07
  • 2021-07-13
  • 2021-10-02
  • 2021-08-04
  • 2021-08-04
相关资源
相似解决方案