1import Vue from 'vue'
2import Router from 'vue-router'
3
4Vue.use(Router)
5
6let router = new Router({
7 mode: 'history', //removes # (hashtag) from url
8 base: '/',
9 fallback: true, //router should fallback to hash (#) mode when the browser does not support history.pushState
10 routes: [
11 { path: '*', require('../components/pages/NotFound.vue') },
12 //... + all your other paths here
13 ]
14})
15export default router
16