自述文件
安装
运行npm install来安装节点模块。
运行bower install以安装客户端依赖项。
每天
运行grunt来验证代码样式(设置为Google)并连接脚本。
运行grunt watch以在工作时连续验证sintax并连接脚本。
使用NPM或Bower安装新软件包时,请不要忘记--save或--save-dev 。
server.js包含服务器配置和路由。
/app包含服务器端应用程序代码。
/public/app包含客户端应用程序(Angular)代码。
/public/index.html是客户端应用程序的入口点。
/public/lib供Bower使用,它将托管依赖项放在此处。
不要忘记用Bower为您获取的必需发行脚本来更新Gruntfile.js concat: {...部分。
添加新样式表时, Gruntfile.js它们包含在Grun
评论0
最新资源