mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
connect home page in router
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { createRouter, createWebHistory } from "vue-router";
|
||||
|
||||
import homePage from "@/pages/HomePage.vue";
|
||||
export default createRouter({
|
||||
history: createWebHistory(),
|
||||
routes: [
|
||||
{ path: '/', component: HomePage, name: 'home' }
|
||||
{ path: '/', component: homePage, name: 'home' }
|
||||
]
|
||||
})
|
||||
Reference in New Issue
Block a user