https://github.com/cnodejs/nav.cnodejs.org
Also http://nav.nodejs-china.org/
https://github.com/cnodejs/nav.cnodejs.org
Last synced: 10 months ago
JSON representation
Also http://nav.nodejs-china.org/
- Host: GitHub
- URL: https://github.com/cnodejs/nav.cnodejs.org
- Owner: cnodejs
- Created: 2016-01-14T06:13:32.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T04:03:31.000Z (over 5 years ago)
- Last Synced: 2025-03-08T12:48:41.202Z (about 1 year ago)
- Language: CoffeeScript
- Size: 11.7 KB
- Stars: 3
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CNode.js 中文导航
----
访问:
* http://nav.cnodejs.org (还未完成跳转)
* http://nav.nodejs-china.org
### Develop
静态文件 `index.html` 建议用 Nginx 站点打开, 或者其他服务器.
开发环境基于 Webpack 做了热替换:
```bash
npm i
gulp dev
```
打包命令, `static` 只合并代码生成 HTML, `ws` 进一步压缩代码.
```bash
NODE_ENV=static gulp build # not minified
npm run static
NODE_ENV=ws gulp build
npm run ws
```
通过 rsync 上传服务器, 不过需要修改一下文件里的配置:
```bash
gulp rsync
```
### License
MIT