mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-02-18 11:13:49 +00:00
28 lines
829 B
JavaScript
Executable File
28 lines
829 B
JavaScript
Executable File
/*
|
|
* @Author: smallalso<hu141418@gmail.com>
|
|
* @Date: 2020-11-16 11:07:22
|
|
* @LastEditors: smallalso<hu141418@gmail.com>
|
|
* @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/,
|
|
];
|
|
};
|