Some checks failed
Deploy / deploy (push) Has been cancelled
Move vue_app before controllers in routes.yaml AND keep priority:1. Using both guarantees Symfony matches the Vue SPA catch-all first regardless of how the router compiles equal-priority routes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
356 B
YAML
16 lines
356 B
YAML
vue_app:
|
|
path: /{req}
|
|
controller: Symfony\Bundle\FrameworkBundle\Controller\TemplateController
|
|
defaults:
|
|
template: 'vue/index.html.twig'
|
|
req: ''
|
|
requirements:
|
|
req: "^(?!api/|legacy).*"
|
|
priority: 1
|
|
|
|
controllers:
|
|
resource:
|
|
path: ../src/Controller/
|
|
namespace: App\Controller
|
|
type: attribute
|