Created
September 14, 2017 09:56
-
-
Save gearmobile/a2b38042eb4af5027c928bbcf41b8f6b to your computer and use it in GitHub Desktop.
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 Home = () => import(/* webpackChunkName: "home" */ './Home.vue'); | |
const About = () => import(/* webpackChunkName: "about" */ './About.vue'); | |
const Contact = () => import(/* webpackChunkName: "contact" */ './Contact.vue'); | |
const routes = [ | |
{ path: '/', name: 'home', component: Home }, | |
{ path: '/about', name: 'about', component: About }, | |
{ path: '/contact', name: 'contact', component: Contact } | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment