Skip to content

Commit 42d2fc9

Browse files
authored
Merge pull request #18 from sumcumo/chore/vuepress
Chore/vuepress
2 parents a5de09e + 165e7f4 commit 42d2fc9

File tree

2 files changed

+26
-40
lines changed

2 files changed

+26
-40
lines changed

docs/.vuepress/config.js

Lines changed: 25 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,34 @@
11
module.exports = {
2+
dest: 'docs/.vuepress/dist',
23
base: '/',
3-
serviceWorker: true,
4+
title: 'Vue CLI SSR plugin',
5+
description: 'Dead Simple Server-Side-Rendering',
46
head: [
5-
['link', { rel: 'icon', href: '/logo.png' }],
7+
['link', { rel: 'icon', href: '/favicon.png' }]
68
],
7-
locales: {
8-
'/': {
9-
lang: 'en-US',
10-
title: 'Vue CLI SSR plugin',
11-
description: 'Dead Simple Server-Side-Rendering',
12-
},
13-
},
9+
evergreen: true,
10+
displayAllHeaders: true,
11+
sidebarDepth: 3,
1412
themeConfig: {
15-
repo: 'Akryum/vue-cli-plugin-ssr',
16-
docsDir: 'docs',
17-
editLinks: true,
18-
serviceWorker: {
19-
updatePopup: true,
13+
sidebar: {
14+
'/guide/': [
15+
'',
16+
'configuration',
17+
'directives',
18+
'webpack',
19+
],
2020
},
21-
locales: {
22-
'/': {
23-
selectText: 'Languages',
24-
label: 'English',
25-
lastUpdated: 'Last Updated',
26-
nav: [
27-
{
28-
text: 'Guide',
29-
link: '/guide/',
30-
},
31-
{
32-
text: 'Patreon',
33-
link: 'https://www.patreon.com/akryum',
34-
},
35-
],
36-
sidebarDepth: 3,
37-
sidebar: {
38-
'/guide/': [
39-
'',
40-
'configuration',
41-
'directives',
42-
'webpack',
43-
],
44-
},
21+
nav: [
22+
{
23+
text: 'Guide',
24+
link: '/guide/',
4525
},
46-
},
26+
{
27+
text: 'Patreon',
28+
link: 'https://www.patreon.com/akryum',
29+
},
30+
],
4731
},
32+
host: '127.0.0.1',
4833
}
34+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"eslint-plugin-node": "^9.1.0",
6060
"eslint-plugin-promise": "^4.2.1",
6161
"eslint-plugin-standard": "^4.0.1",
62-
"vuepress": "^0.14.8"
62+
"vuepress": "^1.0.3"
6363
},
6464
"peerDependencies": {
6565
"@vue/cli-service": "^3.0.0",

0 commit comments

Comments
 (0)