完善页面
This commit is contained in:
@ -3,7 +3,7 @@ import { createSSRApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
import { requestInterceptor } from './http/interceptor'
|
||||
import { routeInterceptor } from './router/interceptor'
|
||||
import navBar from '@/components/navbar.vue'
|
||||
import NavBar from '@/components/Navbar.vue'
|
||||
|
||||
import store from './store'
|
||||
import '@/style/index.scss'
|
||||
@ -15,7 +15,7 @@ import { getNavBarHeight, getCapsuleOffset } from '@/utils/index'
|
||||
export function createApp() {
|
||||
const app = createSSRApp(App)
|
||||
/* 注册全局组件 */
|
||||
app.component('navBar', navBar) // 注册全局组件
|
||||
app.component('NavBar', NavBar) // 注册全局组件
|
||||
|
||||
app.use(store)
|
||||
app.use(routeInterceptor)
|
||||
|
||||
Reference in New Issue
Block a user