feat: route config pour les front

This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2025-03-24 18:21:07 +01:00
parent 41dc3c51aa
commit ed0a075a6c
6 changed files with 29 additions and 26 deletions

View File

@@ -5,13 +5,19 @@ controllers:
type: attribute
react_app:
path: /react
path: /react/{req}
controller: Symfony\Bundle\FrameworkBundle\Controller\TemplateController
defaults:
template: 'react/index.html.twig'
req: ''
requirements:
req: ".*"
vue_app:
path: /vue
path: /vue/{req}
controller: Symfony\Bundle\FrameworkBundle\Controller\TemplateController
defaults:
template: 'vue/index.html.twig'
req: ''
requirements:
req: ".*"