提交 26ab37e1 编写于 作者: D DCloud_LXH

feat: update theme to 1.4.15

上级 9b7dc829
......@@ -107,20 +107,9 @@ const config = {
path.resolve(process.cwd(), 'docs/.vuepress/config')
)
},
patterns: ['**/!(_sidebar).md', '**/*.vue'],
plugins: [
["vuepress-plugin-juejin-style-copy", copyOptions]
],
/**
*
* @param {string} path path: js 资源文件路径
* @param {string} type type: 资源文件类型,取值有 script 等
* @returns
*/
shouldPrefetch: (path, type) => {
if (type === 'script') return path.includes('vendors~') || path.includes('layout-') || path.includes('index.')
return false
}
]
}
module.exports = config
\ No newline at end of file
......@@ -32,7 +32,7 @@
},
"dependencies": {
"vuepress": "1.9.9",
"vuepress-theme-uniapp-official": "1.4.14"
"vuepress-theme-uniapp-official": "1.4.15"
},
"resolutions": {
"markdown-it": "< 14"
......
......@@ -9566,10 +9566,10 @@ vuepress-plugin-zooming@^1.1.8:
dependencies:
zooming "^2.1.1"
vuepress-theme-uniapp-official@1.4.14:
version "1.4.14"
resolved "https://registry.npmjs.org/vuepress-theme-uniapp-official/-/vuepress-theme-uniapp-official-1.4.14.tgz#b1a030ca412089fdbf0d712172fbc09e7def1013"
integrity sha512-TVFyqBOgJlhlElXa9TxAuiPLxbbyDbWjP6US7L8MIr6PTW4d5ZMmf5CfrUOzemstSTLRLCa7euyzoONtwzhRdg==
vuepress-theme-uniapp-official@1.4.15:
version "1.4.15"
resolved "https://registry.npmmirror.com/vuepress-theme-uniapp-official/-/vuepress-theme-uniapp-official-1.4.15.tgz#9af69902b83bb6f078215d2138c79555e877b1a8"
integrity sha512-yP0Imb9MksiFhOV8jfntWyjKADPpuEXmBFCP0bwQUznDQyce8IM3wXp5PLQeDPunUDDjLkYfzS0t1UHBYWzFIA==
dependencies:
"@docsearch/css" "^3.6.0"
"@vuepress/plugin-back-to-top" "^1.9.5"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册