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
+5-55Lines changed: 5 additions & 55 deletions
Original file line number
Diff line number
Diff line change
@@ -13,65 +13,15 @@ npm install
13
13
14
14
### Deploy
15
15
16
-
Start a development server with hot reload on `localhost:8080/docs/`:
17
-
```bash
18
-
npx vuepress dev pages/
19
-
```
20
-
21
-
Production build (destionation: `pages/.vuepress/dist`):
22
-
```bash
23
-
npx vuepress build pages/
24
-
```
25
-
26
-
Build and deploy on GitHub Pages:
27
-
28
-
```bash
29
-
npm run deploy
30
-
```
16
+
Push to the **main** branch.
31
17
32
18
### Development
33
19
34
-
```
35
-
.
36
-
├── pages
37
-
│ ├── .vuepress (Optional)
38
-
│ │ ├── components (Optional)
39
-
│ │ ├── theme (Optional)
40
-
│ │ │ └── Layout.vue
41
-
│ │ ├── public (Optional)
42
-
│ │ ├── styles (Optional)
43
-
│ │ │ ├── index.styl
44
-
│ │ │ └── palette.styl
45
-
│ │ ├── templates (Optional, Danger Zone)
46
-
│ │ │ ├── dev.html
47
-
│ │ │ └── ssr.html
48
-
│ │ ├── config.js (Optional)
49
-
│ │ └── enhanceApp.js (Optional)
50
-
│ │
51
-
│ ├── README.md
52
-
│ ├── manual
53
-
│ │ └── README.md
54
-
│ └── anotherpage.md
55
-
│
56
-
└── package.json
57
-
```
58
-
59
-
-`pages/.vuepress`: It is used to store global configuration, components, static resources, etc.
60
-
-`pages/.vuepress/components`: The Vue components in this directory will be automatically registered as global components.
61
-
-`pages/.vuepress/theme`: Used to store local theme.
62
-
-`pages/.vuepress/styles`: Stores style related files.
63
-
-`pages/.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.
64
-
-`pages/.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