Regarding history mode.
-
Hi, there
I am a beginner in Quasar and English.
@quasar/cli 1.0.3
Laravel 8.1Please tell me about the History mode of VueRouter.
- changed the router mode to history.
// Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-build build: { vueRouterMode: 'history', // available values: 'hash', 'history'
- Added definition in web.php
Route::get('/{any}', function () { return view('index'); })->where('any', '.*');
The problem I’m facing is that the screen goes white because the setup method isn’t called after the screen transition.
What should I do? -
By the way, the content is displayed when I reload it.
-
I made a mistake.
The problem was that the routing file is wrong.
thanks.