aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src
diff options
context:
space:
mode:
Diffstat (limited to 'src-vue/src')
-rw-r--r--src-vue/src/main.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src-vue/src/main.ts b/src-vue/src/main.ts
index bbc99952..758fe747 100644
--- a/src-vue/src/main.ts
+++ b/src-vue/src/main.ts
@@ -30,10 +30,10 @@ app.use( store, '$store' );
// routes
const routes = [
- { path: '/', name: 'Main', component: () => PlayView},
- { path: '/changelog', name: 'Changelog', component: () => ChangelogView},
- { path: '/settings', name: 'Settings', component: () => SettingsView},
- { path: '/dev', name: 'Dev', component: () => DeveloperView}
+ { path: '/', name: 'Main', component: async () => PlayView},
+ { path: '/changelog', name: 'Changelog', component: async () => ChangelogView},
+ { path: '/settings', name: 'Settings', component: async () => SettingsView},
+ { path: '/dev', name: 'Dev', component: async () => DeveloperView}
];
const router = createRouter({
history: createWebHashHistory(),