Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Vue from 'vue'
- import Router from 'vue-router'
- import App from './App.vue'
- import Application from './components/Application.vue'
- import Home from './components/Home.vue'
- import Table from './components/Table.vue'
- Vue.use(Router)
- const router = new Router({
- routes: [{
- path: '/',
- name: 'home',
- component: Home
- },
- {
- path: '/application',
- name: 'application',
- component: Application
- },
- {
- path: '/table',
- name: 'table',
- component: Table
- }
- ]
- })
- new Vue({
- el: '#app',
- render: h => h(App),
- router
- }) а
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement