/* * @Author: smallalso * @Date: 2020-11-16 11:07:22 * @LastEditors: smallalso * @LastEditTime: 2020-12-15 17:46:54 * @FilePath: /his-doc/docs/.vuepress/theme/enhanceApp.js */ import './styles/main.scss'; // 使用异步函数也是可以的 export default ({ Vue, // VuePress 正在使用的 Vue 构造函数 options, // 附加到根实例的一些选项 router, // 当前应用的路由实例 siteData, // 站点元数据 isServer, // 当前应用配置是处于 服务端渲染 或 客户端 }) => { // ...做一些其他的应用级别的优化 // console.log({ Vue, options, router, siteData, isServer }); Vue.config.ignoredElements = [ // Use a `RegExp` to ignore all elements that start with "nova-" // 2.5+ only //^nova-/, // /img/, ]; };