@@ -14,15 +14,15 @@ Traefik Web UI provide 2 types of information:
14
14
Use the make file :
15
15
16
16
``` shell
17
- make build-image # Generate Docker image
18
- make generate-webui # Generate static contents in `traefik/ webui/static/` folder.
17
+ make build-image # Generate Docker image.
18
+ make clean-webui generate-webui # Generate static contents in `webui/static/` folder.
19
19
```
20
20
21
21
## How to build (only for frontend developer)
22
22
23
23
- prerequisite: [ Node 12.11+] ( https://nodejs.org ) [ Npm] ( https://www.npmjs.com/ )
24
24
25
- - Go to the ` webui ` directory
25
+ - Go to the ` webui/ ` directory
26
26
27
27
- To install dependencies, execute the following commands:
28
28
@@ -32,9 +32,9 @@ make generate-webui # Generate static contents in `traefik/webui/static/` fold
32
32
33
33
- ` npm run build `
34
34
35
- - Static contents are built in the ` webui/static ` directory
35
+ - Static contents are built in the ` webui/static/ ` directory
36
36
37
- ** Do not manually change the files in the ` webui/static ` directory**
37
+ ** Do not manually change the files in the ` webui/static/ ` directory**
38
38
39
39
- The build allows to:
40
40
- optimize all JavaScript
@@ -46,10 +46,10 @@ make generate-webui # Generate static contents in `traefik/webui/static/` fold
46
46
47
47
## How to edit (only for frontend developer)
48
48
49
- ** Do not manually change the files in the ` webui/static ` directory**
49
+ ** Do not manually change the files in the ` webui/static/ ` directory**
50
50
51
- - Go to the ` webui ` directory
52
- - Edit files in ` webui/src `
51
+ - Go to the ` webui/ ` directory
52
+ - Edit files in ` webui/src/ `
53
53
- Run in development mode :
54
54
- ` npm run dev `
55
55
0 commit comments