You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ The development is done on the dev branch, since master is hosting the productio
7
7
8
8
### Deploy
9
9
10
-
Start a development server with hot reload on `localhost:8080`:
10
+
Start a development server with hot reload on `localhost:8080/docs/`:
11
11
```bash
12
12
npx vuepress dev pages/
13
13
```
@@ -23,6 +23,46 @@ Build and deploy on GitHub Pages:
23
23
npm run deploy
24
24
```
25
25
26
+
### Development
27
+
28
+
```
29
+
.
30
+
├── pages
31
+
│ ├── .vuepress (Optional)
32
+
│ │ ├── components (Optional)
33
+
│ │ ├── theme (Optional)
34
+
│ │ │ └── Layout.vue
35
+
│ │ ├── public (Optional)
36
+
│ │ ├── styles (Optional)
37
+
│ │ │ ├── index.styl
38
+
│ │ │ └── palette.styl
39
+
│ │ ├── templates (Optional, Danger Zone)
40
+
│ │ │ ├── dev.html
41
+
│ │ │ └── ssr.html
42
+
│ │ ├── config.js (Optional)
43
+
│ │ └── enhanceApp.js (Optional)
44
+
│ │
45
+
│ ├── README.md
46
+
│ ├── manual
47
+
│ │ └── README.md
48
+
│ └── anotherpage.md
49
+
│
50
+
└── package.json
51
+
```
52
+
53
+
-`docs/.vuepress`: It is used to store global configuration, components, static resources, etc.
54
+
-`docs/.vuepress/components`: The Vue components in this directory will be automatically registered as global components.
55
+
-`docs/.vuepress/theme`: Used to store local theme.
56
+
-`docs/.vuepress/styles`: Stores style related files.
57
+
-`docs/.vuepress/styles/index.styl`: Automatically applied global style files, generated at the ending of the CSS file, have a higher priority than the default style.
58
+
-`docs/.vuepress/styles/palette.styl`: The palette is used to override the default color constants and to set the color constants of Stylus.
0 commit comments