We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 327e323 commit 25344acCopy full SHA for 25344ac
src/router/index.js
@@ -1,9 +1,9 @@
1
import Vue from 'vue'
2
import Router from 'vue-router'
3
-import Home from '@/components/Home'
4
-import Profile from '@/components/User/Profile'
5
-import Signup from '@/components/User/Signup'
6
-import Signin from '@/components/User/Signin'
+const Home = () => import('@/components/Home')
+const Profile = () => import('@/components/User/Profile')
+const Signup = () => import('@/components/User/Signup')
+const Signin = () => import('@/components/User/Signin')
7
import AuthGuard from './auth-guard'
8
9
Vue.use(Router)
0 commit comments