Commit b6a067c2 authored by Jinjiang's avatar Jinjiang

[docs][zh] updated config

parent ca77b660
module.exports = { module.exports = {
title: 'Vue Loader', locales: {
description: 'Webpack loader for single-file Vue components', '/': {
lang: 'en-US',
title: 'Vue Loader',
description: 'Webpack loader for single-file Vue components'
},
'/zh/': {
lang: 'zh-CN',
title: 'Vue Loader',
description: '处理 Vue 单文件组件的 Webpack loader'
}
},
serviceWorker: true, serviceWorker: true,
theme: 'vue', theme: 'vue',
themeConfig: { themeConfig: {
repo: 'vuejs/vue-loader', repo: 'vuejs/vue-loader',
docsDir: 'docs', docsDir: 'docs',
nav: [ locales: {
{ '/': {
text: 'Guide', label: 'English',
link: '/guide/' selectText: 'Languages',
editLinkText: 'Edit this page on GitHub',
nav: [
{
text: 'Guide',
link: '/guide/'
},
{
text: 'SFC Spec',
link: '/spec.html'
},
{
text: 'Options Reference',
link: '/options.html'
},
{
text: 'Migrating from v14',
link: '/migrating.md'
}
],
sidebar: [
'/',
'/guide/',
'/guide/asset-url',
'/guide/pre-processors',
'/guide/scoped-css',
'/guide/css-modules',
'/guide/hot-reload',
'/guide/functional',
'/guide/custom-blocks',
'/guide/extract-css',
'/guide/linting',
'/guide/testing'
]
}, },
{ '/zh/': {
text: 'SFC Spec', label: '简体中文',
link: '/spec.html' selectText: '选择语言',
}, editLinkText: '在 GitHub 上编辑此页',
{ nav: [
text: 'Options Reference', {
link: '/options.html' text: '指南',
}, link: '/zh/guide/'
{ },
text: 'Migrating from v14', {
link: '/migrating.md' text: '单文件组件规范',
link: '/zh/spec.html'
},
{
text: '选项手册',
link: '/zh/options.html'
},
{
text: '如何从 v14 迁移',
link: '/zh/migrating.md'
}
],
sidebar: [
'/zh/',
'/zh/guide/',
'/zh/guide/asset-url',
'/zh/guide/pre-processors',
'/zh/guide/scoped-css',
'/zh/guide/css-modules',
'/zh/guide/hot-reload',
'/zh/guide/functional',
'/zh/guide/custom-blocks',
'/zh/guide/extract-css',
'/zh/guide/linting',
'/zh/guide/testing'
]
} }
], }
sidebar: [
'/',
'/guide/',
'/guide/asset-url',
'/guide/pre-processors',
'/guide/scoped-css',
'/guide/css-modules',
'/guide/hot-reload',
'/guide/functional',
'/guide/custom-blocks',
'/guide/extract-css',
'/guide/linting',
'/guide/testing'
]
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment