美文网首页
ninghao semantic

ninghao semantic

作者: v小飞侠v | 来源:发表于2017-05-13 20:57 被阅读0次

需要 node.js npm

git clone https://github.com/ninghao/semantic-course demo
cd demo
npm init
npm install semantic-ui --save  ->automatic
cd semantic
gulp build
cd ..
browser-sync start --server --no-notify --files "*.html"
编辑 src/theme.less 改字体为 fonts.useso.com 
经测试,360地址挂了, 解决:
在 src 文件夹中的 themes\default\globals\site.variables 文件中 
@importGoogleFonts : true; 改为 false;
重新编译:
gulp build || gulp build-css
自动编译: 
gulp watch

相关文章

网友评论

      本文标题:ninghao semantic

      本文链接:https://www.haomeiwen.com/subject/jnffxxtx.html