From f9182e5d191f06b7c4142b6d6a95d387055408af Mon Sep 17 00:00:00 2001 From: Kang Huaishuai Date: Thu, 15 Oct 2020 18:30:34 +0800 Subject: [PATCH] [vuepress] bump 1.7.0 Signed-off-by: Kang Huaishuai --- .vuepress/config.js | 7 +++---- package.json | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.vuepress/config.js b/.vuepress/config.js index 23f64f7..5cb6c3d 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -1,8 +1,6 @@ -const resolve = require("vuepress-theme-hope/resolve"); -// const { config } = require('vuepress-theme-hope') +const { config } = require('vuepress-theme-hope') -// module.exports =config({ -module.exports = resolve({ +module.exports = config({ title: 'Docker 从入门到实践', base: '/', head: [['script', {}, ` @@ -41,6 +39,7 @@ module.exports = resolve({ // }, }, themeConfig: { + baseLang: 'zh-CN', blog: false, // comment: false, comment: { diff --git a/package.json b/package.json index 6435862..50938ea 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "chalk": "^2.4.2", "commander": "^2.0.0", "esm": "^3.0.0", - "vuepress": "1.6.0", + "vuepress": "1.7.0", "vuepress-plugin-container": "^2.1.5", - "vuepress-theme-hope": "^0.8.0" + "vuepress-theme-hope": "^1.0.0" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1",