# vue-iview-master **Repository Path**: fbmm/vue-iview-master ## Basic Information - **Project Name**: vue-iview-master - **Description**: 使用vue-cli构建vue+ivew项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 20 - **Forks**: 2 - **Created**: 2018-06-24 - **Last Updated**: 2021-10-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-iview-master > 基于vue-cli构建的vue+iview项目示例 > 初始化login页面组件 实现iview表单验证功能 > vue-cli构建过程请参阅博客 > [vue + iview项目构建](https://blog.csdn.net/wq18512847606/article/details/80790584) > 好用请star 感激不尽 ## 构建过程 ``` bash # 添加依赖 //解压安装包到英文路径下 //打开cmd窗口 //cd到当前项目根目录 我的是 G:\web\git\vue-iview-master> //安装前需要配置node及npm环境 //初始化项目生成 Package.json等配置文件 $ npm init -f //安装依赖 $ npm install // 启动服务 $ npm run dev //成功后 以下命令不需要执行 ------------------------------------------ //报错执行 //初始化项目生成 Package.json等配置文件 $ npm init -f //清除缓存 $ npm cache clean --force //安装依赖 $ npm install //启动服务 $ npm run dev ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).