Browse Source

fix: importing component

bregsiaju 1 year ago
parent
commit
f1747305a1
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/App.vue

+ 3
- 3
src/App.vue View File

1
 <script>
1
 <script>
2
 import { RouterView } from 'vue-router'
2
 import { RouterView } from 'vue-router'
3
-import Navbar from './components/Navbar.vue'
3
+import NavBar from './components/NavBar.vue'
4
 import SideBar from './components/SideBar.vue'
4
 import SideBar from './components/SideBar.vue'
5
 import CollapsedSidebar from './components/CollapsedSidebar.vue'
5
 import CollapsedSidebar from './components/CollapsedSidebar.vue'
6
 
6
 
7
 export default {
7
 export default {
8
   components: {
8
   components: {
9
     RouterView,
9
     RouterView,
10
-    Navbar,
10
+    NavBar,
11
     SideBar,
11
     SideBar,
12
     CollapsedSidebar
12
     CollapsedSidebar
13
   },
13
   },
28
 </script>
28
 </script>
29
 
29
 
30
 <template>
30
 <template>
31
-  <Navbar :class="{ 'menu-collapse': isCollapsed }" />
31
+  <NavBar :class="{ 'menu-collapse': isCollapsed }" />
32
   <CollapsedSidebar v-if="isCollapsed" @expand="expandSide" />
32
   <CollapsedSidebar v-if="isCollapsed" @expand="expandSide" />
33
   <SideBar v-else @collapse="collapseSide" />
33
   <SideBar v-else @collapse="collapseSide" />
34
   <main :class="{ 'menu-collapse': isCollapsed }">
34
   <main :class="{ 'menu-collapse': isCollapsed }">

Loading…
Cancel
Save