Skip to content

Commit 4a1c9b2

Browse files
author
Lévai Norbert
committed
Update how to use docs, replace accent-text color
1 parent bcf1321 commit 4a1c9b2

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

docs/.vuepress/styles/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--vp-c-accent-bg: #f7931a;
33
--vp-c-accent: #f7931a;
44
--vp-c-accent-hover: #ef8007;
5-
--vp-c-accent-text: #fff;
5+
--vp-c-accent-text: #000;
66
--search-c-bg: var(--vp-c-bg);
77
--search-c-accent: var(--vp-c-accent);
88
--search-c-text: var(--vp-c-text);

docs/get-started.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Every markdown file [will be rendered to HTML, then converted to a Vue SFC][cont
1414

1515
VuePress support basic markdown syntax and [some extensions][synatex-extensions], you can also [use Vue features][vue-feature] in it.
1616

17+
Find all the content under docs folder and subfolders in .md file. Edit them in .md format.
18+
1719
## Configuration
1820

1921
VuePress use a `.vuepress/config.js`(or .ts) file as [site configuration][config], you can use it to config your site.
@@ -44,3 +46,20 @@ You can [add extra style][style] with `.vuepress/styles/index.scss` file.
4446
[sidebar]: https://vuejs.press/reference/default-theme/config.html#sidebar
4547
[default-theme]: https://vuejs.press/reference/default-theme/
4648
[style]: https://vuejs.press/reference/default-theme/styles.html#style-file
49+
50+
51+
## Run on Localhost
52+
53+
1. Clone the master repository from github
54+
2. Open terminal
55+
3. cd to the folder
56+
4. npm install
57+
5. pnpm install
58+
6. pnpm run docs:dev
59+
60+
On file save the page reloads with the updated content. If not press ctrl + c in the terminal window and pnpm run docs:dev
61+
If you update the .vuepress/styles/index.scss you must rebuild the files in terminal:
62+
1. ctrl + c
63+
2. pnpm run docs:build
64+
3. pnpm run docs:dev
65+
4. Empty browser cache

0 commit comments

Comments
 (0)