소스 검색

fix: error page

부모
커밋
9b24e85225
3개의 변경된 파일7개의 추가작업 그리고 11개의 파일을 삭제
  1. 5
    5
      composer.lock
  2. 1
    5
      resources/js/pages/error/Error.vue
  3. 1
    1
      webpack.mix.js

+ 5
- 5
composer.lock 파일 보기

9010
         },
9010
         },
9011
         {
9011
         {
9012
             "name": "spatie/laravel-ignition",
9012
             "name": "spatie/laravel-ignition",
9013
-            "version": "1.2.0",
9013
+            "version": "1.2.1",
9014
             "source": {
9014
             "source": {
9015
                 "type": "git",
9015
                 "type": "git",
9016
                 "url": "https://github.com/spatie/laravel-ignition.git",
9016
                 "url": "https://github.com/spatie/laravel-ignition.git",
9017
-                "reference": "2b54c8c66f2d280f25e15064ebe3d5e3eda19820"
9017
+                "reference": "9ad1d32acf8c855d711964bc19092b0bc9792273"
9018
             },
9018
             },
9019
             "dist": {
9019
             "dist": {
9020
                 "type": "zip",
9020
                 "type": "zip",
9021
-                "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/2b54c8c66f2d280f25e15064ebe3d5e3eda19820",
9022
-                "reference": "2b54c8c66f2d280f25e15064ebe3d5e3eda19820",
9021
+                "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/9ad1d32acf8c855d711964bc19092b0bc9792273",
9022
+                "reference": "9ad1d32acf8c855d711964bc19092b0bc9792273",
9023
                 "shasum": ""
9023
                 "shasum": ""
9024
             },
9024
             },
9025
             "require": {
9025
             "require": {
9096
                     "type": "github"
9096
                     "type": "github"
9097
                 }
9097
                 }
9098
             ],
9098
             ],
9099
-            "time": "2022-04-01T21:01:58+00:00"
9099
+            "time": "2022-04-13T08:06:05+00:00"
9100
         },
9100
         },
9101
         {
9101
         {
9102
             "name": "theseer/tokenizer",
9102
             "name": "theseer/tokenizer",

+ 1
- 5
resources/js/pages/error/Error.vue 파일 보기

23
     403: 'Sorry, you are forbidden from accessing this page.',
23
     403: 'Sorry, you are forbidden from accessing this page.',
24
   }[props.status]
24
   }[props.status]
25
 })
25
 })
26
-
27
-const back = () => {
28
-  window.history.back()
29
-}
30
 </script>
26
 </script>
31
 
27
 
32
 <template>
28
 <template>
57
             <span class="text-600 text-center">{{ description }}</span>
53
             <span class="text-600 text-center">{{ description }}</span>
58
             <div class="col-12 mt-5 text-center">
54
             <div class="col-12 mt-5 text-center">
59
               <i class="pi pi-fw pi-arrow-left text-blue-500 mr-2" style="vertical-align: center"></i>
55
               <i class="pi pi-fw pi-arrow-left text-blue-500 mr-2" style="vertical-align: center"></i>
60
-              <Link href="#" class="text-blue-500" @click="back">Kembali ke Dashboard</Link>
56
+              <Link href="/" class="text-blue-500">Kembali ke Dashboard</Link>
61
             </div>
57
             </div>
62
           </div>
58
           </div>
63
         </div>
59
         </div>

+ 1
- 1
webpack.mix.js 파일 보기

15
   .js('resources/js/vue.js', 'public/js')
15
   .js('resources/js/vue.js', 'public/js')
16
   .webpackConfig(require('./webpack.config'))
16
   .webpackConfig(require('./webpack.config'))
17
   .vue()
17
   .vue()
18
-  .browserSync('http://bamslaundry.test/')
18
+  .browserSync('http://bambslaundry.test/')
19
   .disableNotifications()
19
   .disableNotifications()
20
 
20
 
21
 if (mix.inProduction()) {
21
 if (mix.inProduction()) {