搭建PC端vue开发环境 一:安装git工具 1、下载:https://git-scm.com/download/win,下载后安装 二:下载花裤衩基础库 1、git clone https://github.com/PanJiaChen/vue-admin-template.git 三:下载node.js安装包 https://nodejs.org/en/download,下载后安装,之后会自动安装一些工具,例如python 四:安装依赖包 npm install,这个命令安装较慢,可以用下面的命令,稍微会快一点 npm install --registry=https://registry.npmmirror.com 五:运行代码 npm run dev ********************************************************安装一些工具*********************************************************** 1、crypto-js a:安装,npm install crypto-js --save b:导入,import cryptojs from 'crypto-js'