前端开发秋风随笔程序员

基于angular.js和weui重写的新闻客户端

2016-12-15  本文已影响101人  秋风喵

<h1>Angular News</h1>
源码下载

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

License

MIT
Copyright (c) 2016 Winds❤︎Wscats

上一篇下一篇

猜你喜欢

热点阅读