Browse Source
Merge pull request #512 from chakflying/reduce-bundle-size
Build: Reduce client bundle size with more async components
pull/523/head
Louis Lam
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/router.js
|
@ -6,9 +6,9 @@ import DashboardHome from "./pages/DashboardHome.vue"; |
|
|
import Details from "./pages/Details.vue"; |
|
|
import Details from "./pages/Details.vue"; |
|
|
import EditMonitor from "./pages/EditMonitor.vue"; |
|
|
import EditMonitor from "./pages/EditMonitor.vue"; |
|
|
import List from "./pages/List.vue"; |
|
|
import List from "./pages/List.vue"; |
|
|
import Settings from "./pages/Settings.vue"; |
|
|
const Settings = () => import("./pages/Settings.vue"); |
|
|
import Setup from "./pages/Setup.vue"; |
|
|
import Setup from "./pages/Setup.vue"; |
|
|
import StatusPage from "./pages/StatusPage.vue"; |
|
|
const StatusPage = () => import("./pages/StatusPage.vue"); |
|
|
import Entry from "./pages/Entry.vue"; |
|
|
import Entry from "./pages/Entry.vue"; |
|
|
|
|
|
|
|
|
const routes = [ |
|
|
const routes = [ |
|
|