Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routes prioritising #438

Open
Tadaz opened this issue Sep 9, 2021 · 0 comments
Open

Routes prioritising #438

Tadaz opened this issue Sep 9, 2021 · 0 comments

Comments

@Tadaz
Copy link

Tadaz commented Sep 9, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant