routing import fix

ref #10
This commit is contained in:
Philipp Dormann 2021-03-07 13:30:05 +01:00
parent f8ceec492d
commit ac9f1ba2ac

View File

@ -26,7 +26,7 @@ const Home = import('./components/Home.vue');
const Imprint = import('./components/Imprint.vue'); const Imprint = import('./components/Imprint.vue');
const Privacy = import('./components/Privacy.vue'); const Privacy = import('./components/Privacy.vue');
const Register = import('./components/Register.vue'); const Register = import('./components/Register.vue');
const Profile = import('./components/Profile.vue'); const Profile = () => import('./components/Profile.vue');
// //
let routes = [ { path: '/', component: EnvError } ]; let routes = [ { path: '/', component: EnvError } ];
if (typeof config !== 'undefined') { if (typeof config !== 'undefined') {