This commit is contained in:
syuilo
2020-09-05 01:27:02 +09:00
parent 1a7a07cb1a
commit c49e5a80be
23 changed files with 42 additions and 42 deletions

View File

@@ -2,7 +2,7 @@ import { createRouter, createWebHistory } from 'vue-router';
import MkIndex from './pages/index.vue';
import { defineAsyncComponent } from 'vue';
const page = (path: string) => defineAsyncComponent(() => import(`./pages/${path}.vue`).then(m => m.default));
const page = (path: string) => defineAsyncComponent(() => import(`./pages/${path}.vue`));
let indexScrollPos = 0;