# node-react **Repository Path**: durban/node-react ## Basic Information - **Project Name**: node-react - **Description**: Nodejs 中使用React ,并且使用Grunt实现代码快速部署【包括js,css压缩并打包处理】 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2015-04-27 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Nodejs React ======= # 1、下载文件后执行 npm install # 2、执行 grunt build # 3、修改 index.js ``` var stServe = staticServe('./app', {index: ['index.html', 'index.htm']}); ``` 改为 ``` var stServe = staticServe('./dest', {index: ['index.html', 'index.htm']}); ``` # 4、运行grunt 或者单独运行 node index.js