Semantic UI 学习笔记

1.经过GIT克隆 ninghao的Semantic Uicss

#git clone git地址 [保存文件夹]
git clone https://github.com/ninghao/semantic-coure

2.查看npm的版本html

npm -v

3.npm升级git

npm install -g npm@3
npm install update -g #全局更新

4.使用npm建立一个package.json 文件github

npm init
#一路回车就能够了

5.经过使用npm安装Semantic UInpm

npm install semantic-ui --save

6.自动监视文件的变化,刷新浏览器的内容json

browser-sync start --server --no-notify --files "index.html, semantic/dist/semantic.css"

7. 经过使用gulp 编译less 文件gulp

cd semantic   #进入目录
gulp build    #编译
相关文章
相关标签/搜索