安装blur-admin模板

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/m0_37222746/article/details/78319762
blur-admin模板 安装过程坑其实挺多的,作为过来人,感觉有必要把自己的经验分享出来,让大家少走点弯路。

首先安装完git 跟 nodejs。

然后输入命令:

git clonehttps://github.com/akveo/blur-admin.git

下载模板

 

Npm config set registry https://registry.npm.taobao.org  改变默认的npm查找包的站点

 

安装cnpm

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

安装bower

npm install -g yo gulp bower

安装generator-gulp-angular

npm install -g generator-gulp-angular

安装模板

Cd blur-admin

cnpm install

启动

gulp serve

打包生成

gulp serve:dist

 

然后将打包好的文件copy到tomcat中的相应项目文件中,即可访问部署了

 

 

Node Sass does not yet support your currentenvironment解决办法

先卸载:

[html] view plain copy

1.  npm uninstall --save node-sass  


在安装:

[html] view plain copy

1.  npm install --save node-sass  


就解决了
---------------------
作者:编程序的艺术家
来源:CSDN
原文:https://blog.csdn.net/m0_37222746/article/details/78319762
版权声明:本文为博主原创文章,转载请附上博文链接!

posted @ 2018-12-03 22:38  夏秋初  阅读(644)  评论(0)    收藏  举报