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
+22-13Lines changed: 22 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,10 @@ This is the CoderBot documentation repository: a [Vue.js](https://vuejs.org/) ap
4
4
5
5
The development is done on the dev branch, since master is hosting the production build, served by GitHub pages (automatically deployed by an npm script, see package.json).
6
6
7
+
```bash
8
+
git clone https://github.com/CoderBotOrg/docs.git
9
+
npm install
10
+
```
7
11
8
12
### Deploy
9
13
@@ -12,7 +16,7 @@ Start a development server with hot reload on `localhost:8080/docs/`:
12
16
npx vuepress dev pages/
13
17
```
14
18
15
-
Production build:
19
+
Production build (destionation: `pages/.vuepress/dist`):
16
20
```bash
17
21
npx vuepress build pages/
18
22
```
@@ -50,18 +54,23 @@ npm run deploy
50
54
└── package.json
51
55
```
52
56
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.
-`pages/.vuepress`: It is used to store global configuration, components, static resources, etc.
58
+
-`pages/.vuepress/components`: The Vue components in this directory will be automatically registered as global components.
59
+
-`pages/.vuepress/theme`: Used to store local theme.
60
+
-`pages/.vuepress/styles`: Stores style related files.
61
+
-`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.
62
+
-`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