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",