const Home = () => import('~/pages/home').then(m => m.default || m)
const Welcome = () => import('~/pages/welcome').then(m => m.default || m)

const Login = () => import('~/pages/auth/login').then(m => m.default || m)
const Register = () => import('~/pages/auth/register').then(m => m.default || m)
const PasswordReset = () => import('~/pages/auth/password/reset').then(m => m.default || m)
const PasswordRequest = () => import('~/pages/auth/password/email').then(m => m.default || m)

const Settings = () => import('~/pages/settings/index').then(m => m.default || m)
const SettingsProfile = () => import('~/pages/settings/profile').then(m => m.default || m)
const SettingsPassword = () => import('~/pages/settings/password').then(m => m.default || m)

export default [
  { path: '/', name: 'welcome', component: Welcome },

  { path: '/login', name: 'login', component: Login },
  { path: '/register', name: 'register', component: Register },
  { path: '/password/reset', name: 'password.request', component: PasswordRequest },
  { path: '/password/reset/:token', name: 'password.reset', component: PasswordReset },

  { path: '/home', name: 'home', component: Home },
  { path: '/settings', component: Settings, children: [
    { path: '', redirect: { name: 'settings.profile' }},
    { path: 'profile', name: 'settings.profile', component: SettingsProfile },
    { path: 'password', name: 'settings.password', component: SettingsPassword }
  ] },

  { path: '*', component: require('~/pages/errors/404.vue') }
]

@@ -1,72 +1,4 @@
-const Home = () =%3E import('~/pages/home').then(m =%3E m.default %7C%7C m)%0A
 cons
@@ -44,35 +44,8 @@
 me')
-.then(m =%3E m.default %7C%7C m)%0A
 %0Acon
@@ -93,34 +93,8 @@
 in')
-.then(m =%3E m.default %7C%7C m)
 %0Acon
@@ -148,34 +148,8 @@
 er')
-.then(m =%3E m.default %7C%7C m)
 %0Acon
@@ -159,21 +159,21 @@
 Password
-Reset
+Email
  = () =%3E
@@ -207,40 +207,14 @@
 ord/
-reset').then(m =%3E m.default %7C%7C m
+email'
 )%0Aco
@@ -227,20 +227,18 @@
 sswordRe
-que
 s
+e
 t = () =
@@ -273,42 +273,58 @@
 ord/
-email').then(m =%3E m.default %7C%7C m)%0A
+reset')%0A%0Aconst Home = () =%3E import('~/pages/home')
 %0Acon
@@ -379,34 +379,8 @@
 ex')
-.then(m =%3E m.default %7C%7C m)
 %0Acon
@@ -444,34 +444,8 @@
 le')
-.then(m =%3E m.default %7C%7C m)
 %0Acon
@@ -511,34 +511,8 @@
 rd')
-.then(m =%3E m.default %7C%7C m)
 %0A%0Aex
@@ -778,15 +778,13 @@
 word
-Request
+Email
  %7D,%0A
@@ -1262,12 +1262,8 @@
 /404
-.vue
 ') %7D

Clean up routes