12345678910111213141516171819 |
- import Vue from 'vue'
- import VueRouter from 'vue-router'
- import HomeView from '../views/screenIndex/index.vue'
- Vue.use(VueRouter)
- const routes = [
- {
- path: '/',
- name: 'index',
- component: HomeView
- }
- ]
- const router = new VueRouter({
- routes
- })
- export default router
|