Fixed #48: basic 404 error template

This commit is contained in:
Eliot Berriot 2017-12-15 22:45:33 +01:00
parent 20812731ae
commit f7fb0e69a3
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
3 changed files with 38 additions and 2 deletions

View file

@ -1,5 +1,6 @@
import Vue from 'vue'
import Router from 'vue-router'
import PageNotFound from '@/components/PageNotFound'
import Home from '@/components/Home'
import Login from '@/components/auth/Login'
import Profile from '@/components/auth/Profile'
@ -72,7 +73,7 @@ export default new Router({
},
{ path: 'import/batches/:id', name: 'library.import.batches.detail', component: BatchDetail, props: true }
]
}
},
{ path: '*', component: PageNotFound }
]
})