Express.js 你好样板
这个项目是一个 express.js 样板网络应用程序。 它包括以下组件:
用于包管理的
用于构建资产的
用于布局的
用于 JavaScript 的
作为模板引擎,带有用于布局支持的
一些零碎的
快速开始
克隆 repo: git clone git://github.com/vdrnn/expressjs-bootstrap your-project && cd your-project
安装 CLI 依赖项: npm install bower grunt -g
安装项目依赖: npm install
使用 Bower 安装资产: bower install
使用 Grunt 生成静态资源: grunt
使用以下命令启动应用程序: node app.js
将浏览器指向
在开发过程中,您可以在单独的选项卡上运行grunt watch