Skip to content

Commit 465685c

Browse files
authored
Vue 3 in Laravel with router, stores and locales
How To Install Vue 3 in Laravel 11 with Vite (router, locales, stores).
1 parent 75690b5 commit 465685c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

vue/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ Route::get('/', function () {
2525
});
2626

2727
// Vue Last route
28-
Route::fallback(function() {
29-
return view('welcome');
30-
});
28+
if (!app()->runningUnitTests()) {
29+
Route::fallback(function() {
30+
return view('welcome');
31+
});
32+
}
3133
```
3234

3335
## Install

0 commit comments

Comments
 (0)