Created
December 26, 2017 02:37
-
-
Save sandi-racy/3695ddd9f04c54b1b0247adbd901d3bf to your computer and use it in GitHub Desktop.
This file contains 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
import Vue from 'vue' | |
import VueRouter from 'vue-router' | |
Vue.use(VueRouter) | |
window.cosmicJsConfig = { | |
bucket: { | |
slug: 'c4ce2db0-e2f9-11e7-b8ae-3589834ee233' | |
} | |
} | |
import App from './components/App.vue' | |
import Home from './components/Home.vue' | |
import Technologies from './components/Technologies.vue' | |
import Projects from './components/Projects.vue' | |
import OpenSources from './components/OpenSources.vue' | |
const routes = [ | |
{ path: '/', component: Home }, | |
{ path: '/technologies', component: Technologies }, | |
{ path: '/projects', component: Projects }, | |
{ path: '/open-sources', component: OpenSources } | |
] | |
const router = new VueRouter({ | |
routes | |
}) | |
new Vue({ | |
router, | |
render: h => h(App) | |
}).$mount('#app') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment