一、vue是基于Node.js的,首先登陆Node.js的官网https://nodejs.org/zh-cn/,进行安装

二、搭建vue开发环境,https://www.cnblogs.com/winter92/p/7117057.html

三、项目中引入Element-ui
1)首先在package.json中查看是否有Element-ui的版本

vue起步-环境

2 )没有的话运行npm i element-ui -S,并在main.js中添加以下内容

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

四、代码自动补全功能,vscode中插件的安装vetur

 

 

相关文章:

  • 2021-09-22
  • 2021-05-24
  • 2021-10-09
  • 2021-08-21
  • 2022-02-08
  • 2021-05-17
猜你喜欢
  • 2021-09-04
  • 2021-05-28
  • 2021-04-02
  • 2022-12-23
  • 2021-09-04
  • 2021-11-21
相关资源
相似解决方案