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    #編譯
相關文章
相關標籤/搜索