关于idea打开elementUI+vue项目时需要导入的几个插件

所需要的插件有

node.js 

element.js

vue.js

html tools.js

live edits.js 

导入的步骤

## 开发

```bash
# 克隆项目
git clone https://git.**

# 进入项目目录
cd test-vue 项目名称

# 安装依赖
npm install

# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 启动服务
npm run dev
```

浏览器访问 http://localhost:80

## 发布

```bash
# 构建测试环境
npm run build:stage

# 构建生产环境
npm run build:prod
posted @ 2021-02-18 11:44  xdq123  阅读(1716)  评论(0编辑  收藏  举报