https://github.com/anyone-yuren/hztcode
https://github.com/anyone-yuren/hztcode
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anyone-yuren/hztcode
- Owner: anyone-yuren
- License: mit
- Created: 2019-01-29T08:50:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-30T02:55:41.000Z (over 6 years ago)
- Last Synced: 2025-02-01T16:48:47.747Z (8 months ago)
- Language: JavaScript
- Size: 1.4 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Front-End Coding Guidelines
Installation Coding Guidelines For Front-End Developers.
## Getting started
Install dependencies:
``` bash
$ git clone git@github.com:niyg/hztCode.git
$ npm install
```Generate:
``` bash
$ hexo g
```Run server:
``` bash
$ hexo s --watch
```## Deployment
1. Generate and optimize assets
```bash
gulp
```2. Deploy to the gh-pages branch
```bash
hexo d -g
```
发布时,如在站点的子目录底下。url设置成站点发布地址 ,root设置站点底下的文件目录(如开发环境上部署在ue/code/public)则root:ue/code/public/## License
[CC BY 4.0](http://creativecommons.org/licenses/by/4.0/)