UNPKG

vuepress-theme-fuse

Version:

A VuePress theme that supports Bingo Fuse Api document.

25 lines (23 loc) 530 B
const path = require('path'); module.exports = (options, context) => ({ enhanceAppFiles: [ path.resolve(__dirname, './lib/client.js'), ], styl: { includePath: ['./lib/theme/tabs.styl'], }, chainMarkdown(config) { config .plugin('@fuse/tabs') .use(require('./lib/markdownItPlugin'), [options]) .end(); }, // extendPageData(pageCtx) { // debugger; // }, // async ready() { // const { pages } = context; // debugger; // context.siteConfig.head.push(['script', { src: '../../config.js' }]); // } });