mirror of https://github.com/alibaba/arthas.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
525 B
JavaScript
19 lines
525 B
JavaScript
3 years ago
|
const { defaultTheme } = require("@vuepress/theme-default");
|
||
|
const { path } = require("@vuepress/utils");
|
||
|
|
||
|
exports.localTheme = (options) => {
|
||
|
return {
|
||
|
name: "vuepress-theme-arthas",
|
||
|
extends: defaultTheme(options),
|
||
|
|
||
|
alias: {
|
||
|
"@theme/Home.vue": path.resolve(__dirname, "components/Home.vue"),
|
||
|
"@theme/NavbarDropdown.vue": path.resolve(
|
||
|
__dirname,
|
||
|
"components/NavbarDropdown.vue"
|
||
|
),
|
||
|
"@theme/AutoLink.vue": path.resolve(__dirname, "components/AutoLink.vue"),
|
||
|
},
|
||
|
};
|
||
|
};
|