Skip to content

Commit

Permalink
Lazy load routes
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-panhead committed Oct 3, 2023
1 parent a2fbc01 commit af9380d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '@/views/HomeView.vue'
import IdeasView from '@/views/IdeasView.vue'
import TeamView from '@/views/TeamView.vue'
import ELSIView from '@/views/ELSIView.vue'
import GroupAView from '@/views/enzymosome/GroupAView.vue'
const HomeView = () => import('@/views/HomeView.vue')
const IdeasView = () => import('@/views/IdeasView.vue')
const TeamView = () => import('@/views/TeamView.vue')
const ELSIView = () => import('@/views/ELSIView.vue')
const GroupAView = () => import('@/views/enzymosome/GroupAView.vue')

const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
Expand Down

0 comments on commit af9380d

Please sign in to comment.