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.
arthas/site/docs/.vuepress/theme/index.js

19 lines
525 B
JavaScript

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"),
},
};
};