File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import User from '../components/app/users/User.vue';
1616import History from '../views/app/History.vue' ;
1717import Matches from '../views/app/Matches.vue' ;
1818import SignOut from '../views/auth/SignOut.vue' ;
19+ import NotFound from '../views/NotFound.vue' ;
1920import store from '../store/index' ;
2021
2122Vue . use ( VueRouter ) ;
@@ -144,6 +145,11 @@ const routes = [
144145 name : 'SignOut' ,
145146 beforeEnter : notLoggedInRedirectLogin ,
146147 } ,
148+ {
149+ path : '*' ,
150+ component : NotFound ,
151+ name : 'NotFound' ,
152+ } ,
147153] ;
148154
149155const router = new VueRouter ( {
Original file line number Diff line number Diff line change 1+ <template >
2+ <div class =" sm:mx-16 lg:mx-32 mt-32" >
3+ <h1 class =" text-2xl text-center mx-auto" >404 page not found</h1 >
4+ </div >
5+ </template >
You can’t perform that action at this time.
0 commit comments