Github对应地址 https://github.com/PanJiaChen/vue-element-admin

 

其中git为最新版本才支持github 的 clone代码  步骤如下

# clone the project
git clone https://github.com/PanJiaChen/vue-element-admin.git

# install dependency
npm install

# develop
npm run dev

正常上面步骤应该执行成功。 但是我就出现了无法找到 node-sass模块的问题,根据查资料后发现需要安装cnpm 和 通过cnpm安装node-sass模块

npm install -g cnpm --registry=https://registry.npm.taobao.org

cnpm install node-sass

这样重新 npm run dev就好了




 

posted on 2018-04-13 22:16  菜霸  阅读(1365)  评论(0)    收藏  举报