Created
October 8, 2019 05:42
-
-
Save CryDeTaan/c0575efd09b6784b92a7a10fd46931df to your computer and use it in GitHub Desktop.
Gist for medium
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
let routes = [ | |
{ | |
path: '/dashboard', | |
component: require('./views/dashboard').default | |
}, | |
{ | |
path: '/users', | |
component: require('./views/users').default | |
}, | |
{ | |
path: '/something-new', | |
component: require('./views/something-new').default | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment