-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
/
Copy pathconfig.js
96 lines (96 loc) · 3.24 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
module.exports = {
locales: {
'/': {
lang: 'en-US',
title: 'Vue CLI',
description: '🛠️ Standard Tooling for Vue.js Development'
}
},
serviceWorker: true,
theme: 'vue',
themeConfig: {
repo: 'vuejs/vue-cli',
docsDir: 'docs',
docsBranch: 'dev',
editLinks: true,
sidebarDepth: 3,
locales: {
'/': {
label: 'English',
selectText: 'Languages',
lastUpdated: 'Last Updated',
editLinkText: 'Edit this page on GitHub',
nav: [
{
text: 'Guide',
link: '/guide/'
},
{
text: 'Config Reference',
link: '/config/'
},
{
text: 'Dev Guide',
items: [
{ text: 'Plugin Dev Guide', link: '/dev-guide/plugin-dev.md' },
{ text: 'UI Plugin Info', link: '/dev-guide/ui-info.md' },
{ text: 'UI Plugin API', link: '/dev-guide/ui-api.md' },
{ text: 'UI Localization', link: '/dev-guide/ui-localization.md' }
]
},
{
text: 'Plugins',
items: [
{ text: 'Babel', link: 'https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel' },
{ text: 'Typescript', link: 'https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-typescript' },
{ text: 'ESLint', link: 'https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint' },
{ text: 'PWA', link: 'https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-pwa' },
{ text: 'Jest', link: 'https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-unit-jest' },
{ text: 'Mocha', link: 'https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-unit-mocha' },
{ text: 'Cypress', link: 'https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-e2e-cypress' },
{ text: 'Nightwatch', link: 'https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-e2e-nightwatch' }
]
},
{
text: 'Changelog',
link: 'https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md'
}
],
sidebar: {
'/guide/': [
'/guide/',
{
title: 'CLI',
collapsable: false,
children: [
'/guide/creating-a-project',
'/guide/prototyping',
'/guide/plugins-and-presets'
]
},
{
title: 'Development',
collapsable: false,
children: [
'/guide/cli-service',
'/guide/browser-compatibility',
'/guide/html-and-static-assets',
'/guide/css',
'/guide/webpack',
'/guide/mode-and-env',
'/guide/build-targets',
'/guide/deployment'
]
}
],
'/dev-guide/': [
'/dev-guide/plugin-dev.md',
'/dev-guide/ui-info.md',
'/dev-guide/ui-api.md',
'/dev-guide/ui-localization.md'
]
}
}
}
}
}