# VueWebpackDemo **Repository Path**: lanrain/VueWebpackDemo ## Basic Information - **Project Name**: VueWebpackDemo - **Description**: 学习vue和webpack - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-03-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 学习笔记 ## 环境安装 1.安装node并配置改变默认存储路径 npm config prefix "E:\node_module\node_global"   npm config cache "E:\node_module\node_cache" 2.设置windows的环境变量 path中添加环境变量为:E:\node_module\node_global\ 3. 安装webpack npm install webpack -g 4. 安装vue-cli npm install vue-cli -g 5.初始化项目 vue init webpack#[版本号] project-name 6.安装vue-router npm i vue-router@^0.7.3 --save 7. 安装iview npm i iview --save