Move webui to FountainJS with Webpack
This commit is contained in:
parent
986ad9fc57
commit
e059239bc3
58 changed files with 1027 additions and 1239 deletions
|
@ -19,13 +19,12 @@ make generate-webui # Generate static contents in `traefik/static/` folder.
|
|||
|
||||
## How to build (only for frontends developer)
|
||||
|
||||
- prerequisite: [Node](https://nodejs.org)
|
||||
- prerequisite: [Node 4+ and NPM 3+](https://nodejs.org)
|
||||
|
||||
- Go to the directory `webui`
|
||||
|
||||
- To install dependencies, execute the following commands:
|
||||
- `npm install`
|
||||
- `bower install`
|
||||
|
||||
- Build static Web UI, execute the following command:
|
||||
- `gulp`
|
||||
|
@ -40,6 +39,7 @@ make generate-webui # Generate static contents in `traefik/static/` folder.
|
|||
- add vendor prefixes to CSS (cross-bowser support)
|
||||
- add a hash in the file names to prevent browser cache problems
|
||||
- all images will be optimized at build
|
||||
- bundle JavaScript in one file
|
||||
|
||||
|
||||
## How to edit (only for frontends developer)
|
||||
|
@ -62,7 +62,8 @@ make generate-webui # Generate static contents in `traefik/static/` folder.
|
|||
## Libraries
|
||||
|
||||
- [Node](https://nodejs.org)
|
||||
- [Generator Gulp-Angular](https://github.com/Swiip/generator-gulp-angular)
|
||||
- [Generator FountainJS](https://github.com/FountainJS/generator-fountain-webapp)
|
||||
- [Webpack](https://github.com/webpack/webpack)
|
||||
- [AngularJS](https://docs.angularjs.org/api)
|
||||
- [UI Router](https://github.com/angular-ui/ui-router)
|
||||
- [UI Router - Documentation](https://github.com/angular-ui/ui-router/wiki)
|
||||
|
@ -71,4 +72,4 @@ make generate-webui # Generate static contents in `traefik/static/` folder.
|
|||
- [D3](http://d3js.org)
|
||||
- [D3 - Documentation](https://github.com/mbostock/d3/wiki)
|
||||
- [NVD3](http://nvd3.org)
|
||||
- [Angular nvD3](http://krispo.github.io/angular-nvd3)
|
||||
- [Angular nvD3](http://krispo.github.io/angular-nvd3)
|
Loading…
Add table
Add a link
Reference in a new issue