caffeinated/modules

Routes prioritising

Tadaz opened this issue · 0 comments

Tadaz commented

Hello,

I have the SPA application which uses the modules package.

The main routes file (resources/web.php) contains SPA route:
Route::any('/{any}', 'SPAController')->where('any', '.*');

My module's route file contains some other routes that are never executable since the system always catches the SPA's route first.

How could I preload the module's routes before the main/Laravel ones?