123456789101112131415161718192021222324252627 |
- import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router'
- import HomeView from '../views/HomeView.vue'
- import BrandSearch from '../views/BrandSearch.vue'
- import ArTourView from '../views/ArTourView.vue'
- const router = createRouter({
- history: createWebHashHistory(),
- routes: [
- {
- path: '/',
- name: 'home',
- component: HomeView,
- },
- {
- path: '/brand-search',
- name: 'BrandSearch',
- component: BrandSearch,
- },
- {
- path: '/ar-tour',
- name: 'ar-tour',
- component: ArTourView
- },
- ]
- })
- export default router
|