feat: add React support

This commit is contained in:
Maël Gangloff
2024-07-19 02:28:05 +02:00
parent 04d9fc20d3
commit 08e13e73c4
12 changed files with 173 additions and 74 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
class HomeController extends AbstractController
{
#[Route(path: "/", name: "index")]
public function index(): Response
{
return $this->render('base.html.twig');
}
}