Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Vue from 'vue';
- import Router from 'vue-router';
- import Home from './views/Home.vue'; // Errors are reported here
- import About from './views/About.vue'; // And here
- Vue.use(Router);
- export default new Router({
- routes: [
- {
- path: '/',
- name: 'home',
- component: Home,
- },
- {
- path: '/about',
- name: 'about',
- component: About,
- },
- ],
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement