Open zhaoda opened 10 years ago
http://localhost/spring/dev.html
dev.html
index.html
spring/ ├── css/ | ├── boot.less #import other less files | ├── github.less #github highlight style | ├── home.less #home page style | ├── issuelist.less #issue list widget style | ├── issues.less #issues page style | ├── labels.less #labels page style | ├── main.less #commo style | ├── markdown.less #markdown format style | ├── menu.less #menu panel style | ├── normalize.less #normalize style | ├── pull2refresh.less #pull2refresh widget style | └── side.html #side panel style ├── dist/ | ├── main.min.css #css for runtime | └── main.min.js #js for runtime ├── img/ #some icon, startup images ├── js/ | ├── lib/ #some js librarys need to use | ├── boot.js #boot | ├── home.js #home page | ├── issuelist.js #issue list widget | ├── issues.js #issues page | ├── labels.js #labels page | ├── menu.js #menu panel | ├── pull2refresh.less #pull2refresh widget | └── side.html #side panel ├── css/ | ├── boot.less #import other less files | ├── github.less #github highlight style | ├── home.less #home page style | ├── issuelist.less #issue list widget style | ├── issues.less #issues page style | ├── labels.less #labels page style | ├── main.less #commo style | ├── markdown.less #markdown format style | ├── menu.less #menu panel style | ├── normalize.less #normalize style | ├── pull2refresh.less #pull2refresh widget style | └── side.html #side panel style ├── dev.html #used to develop ├── favicon.ico #website icon ├── Gruntfile.js #Grunt task config ├── index.html #used to runtime └── package.json #nodejs install config
css
js
Installation package.
$ npm install
Run grunt task.
$ grunt
http://localhost/spring/index.html
master
gh-pages
Installation
http://localhost/spring/dev.html
.dev.html
is used to develop,index.html
is used to runtime.Folder Structure
Customization
http://localhost/spring/dev.html
, enter the development mode.css
,js
etc.dev.html
view change.Building
Installation package.
Run grunt task.
http://localhost/spring/index.html
, enter the runtime mode.master
branch intogh-pages
branch if you have.