Last active
March 5, 2021 15:45
-
-
Save nolimits4web/3f64420ae8bd0ba4d7f55dbff6b0faa2 to your computer and use it in GitHub Desktop.
f7-next-routes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const routes = [ | |
{ | |
path: "/", | |
asyncComponent: () => import("./index"), | |
}, | |
{ | |
path: "/about", | |
asyncComponent: () => import("./about"), | |
}, | |
{ | |
path: '/blog/:postID', | |
asyncComponent: () => import('./blog/[postID]'), | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment