|
12345678910111213141516171819202122 |
- import Vue from 'vue'
- import Router from 'vue-router'
-
- import Hello from '@/components/Hello'
- import MapSelector from '@/components/MapSelector'
-
- Vue.use(Router)
-
- export default new Router({
- routes: [
- {
- path: '/',
- name: 'Hello',
- component: Hello
- },
- {
- path: '/maps',
- name: 'Map selector',
- component: MapSelector
- }
- ]
- })
|