1

parent d9db3da6
...@@ -2,7 +2,7 @@ import { createSSRApp } from 'vue'; ...@@ -2,7 +2,7 @@ import { createSSRApp } from 'vue';
import App from './App.vue'; import App from './App.vue';
import store from './store'; import store from './store';
import '@/assets/iconfont/iconfont.css'; // 引入自定义图标样式文件 import '@/assets/iconfont/iconfont.css'; // 引入自定义图标样式文件
import Vconsole from 'vconsole'; // import Vconsole from 'vconsole';
import './styles/flex.scss'; import './styles/flex.scss';
import { install } from './directive'; import { install } from './directive';
// 字体 // 字体
...@@ -12,8 +12,8 @@ export function createApp() { ...@@ -12,8 +12,8 @@ export function createApp() {
const app = createSSRApp(App); const app = createSSRApp(App);
app.component('Search', Search); app.component('Search', Search);
install(app); install(app);
const vConsole = new Vconsole(); // const vConsole = new Vconsole();
app.use(store, vConsole); app.use(store);
return { return {
app, app,
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment