Skip to content
Permalink
Browse files

Episode 4 Complete

  • Loading branch information...
JeffreyWay committed Mar 18, 2019
1 parent 876f408 commit 5c195992ee928efac2d4b85557c73cfae63988a0
Showing with 15 additions and 2 deletions.
  1. +7 −0 resources/js/components/NotFound.vue
  2. +6 −0 resources/js/routes.js
  3. +2 −2 routes/web.php
@@ -0,0 +1,7 @@
<template>
<h1>Whoops! 404.</h1>
</template>

<script>
export default {};
</script>
@@ -6,13 +6,19 @@ import Mascot from './components/Mascot';
import Illustrations from './components/Illustrations';
import LoadersAndAnimations from './components/LoadersAndAnimations';
import Wallpapers from './components/Wallpapers';
import NotFound from './components/NotFound';

export default {
mode: 'history',

linkActiveClass: 'font-bold',

routes: [
{
path: '*',
component: NotFound
},

{
path: '/',
component: Logo
@@ -11,6 +11,6 @@
|
*/
Route::get('/{any?}', function () {
Route::get('/{any}', function () {
return view('app');
});
})->where('any', '.*');

0 comments on commit 5c19599

Please sign in to comment.
You can’t perform that action at this time.