Skip to content

Commit

Permalink
Use alias
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Sep 14, 2023
1 parent bcf343c commit 96b5302
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/assets/App.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup>
import UIkit from 'uikit'
import Icons from 'uikit/dist/js/uikit-icons'
import Navbar from './components/Navbar.vue'
import Navbar from '@/components/Navbar.vue'
UIkit.use(Icons);
</script>
Expand Down
4 changes: 2 additions & 2 deletions app/assets/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import App from '@/App.vue'
import router from '@/router'

const app = createApp(App)
app.use(router)
Expand Down
4 changes: 2 additions & 2 deletions app/assets/router/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import HomeView from '@/views/HomeView.vue'

const router = createRouter({
history: createWebHistory(),
Expand All @@ -15,7 +15,7 @@ const router = createRouter({
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/AboutView.vue')
component: () => import('@/views/AboutView.vue')
}
]
})
Expand Down

0 comments on commit 96b5302

Please sign in to comment.