AngularJS開源:Angular-news - 基于angular.js和weui重寫的新聞客戶端
Angular News
Use Weui and Angular prepared by the news client, Live Demo
Made with ?? byWinds andWscats
Installation(Git)
克隆項目地址并下載(需要已安裝 Git )
git clone https://github.com/Wscats/news.git
啟動服務(http://localhost:12345/news/index.html)
npm run dev
Building
通過 npm 安裝本地服務第三方依賴模塊(需要已安裝 Node.js ),當然也可以先不安裝依賴暫時省略這步,運行 node http 直接查看項目效果
npm install
然后執行gulp構建項目文件和打開服務器等
npm run test
Installation(NPM)
npm安裝名為20的模塊
npm install 20
找到模塊下載后的位置,在node_modules的20文件夾下
cd /node_modules/20
通過 npm 安裝本地服務第三方依賴模塊(需要已安裝 Node.js ),當然也可以先不安裝依賴暫時省略這步,運行 node http 直接查看項目效果
npm install
執行node指令運行http.js
node http
用瀏覽器打開鏈接
http://localhost:12345/news/index.html
本文由用戶 馬會杰59 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!