mercuryseries / inertia.symfony.react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symfony ❤️ Inertia.js

A quick way to setup a new Symfony Project with Inertia.js and React.js.

Note For the script to work properly, the Symfony Client and npm must be available on your system.

Option 1: Using Webpack Encore

Minimal setup (without home/about pages and menu)

curl -Ls https://dub.sh/symfony-inertia-minimal-setup | bash -s -- myproject

Full setup (with menu and home/about pages)

curl -Ls https://dub.sh/symfony-inertia-full-setup | bash -s -- myproject

myproject will have to be replaced by the name of yout project.

Option 2: Using Vite

Minimal setup (without home/about pages and menu)

curl -Ls https://dub.sh/symfony-inertia-minimal-vite-setup | bash -s -- myproject

Full setup (with menu and home/about pages)

curl -Ls https://dub.sh/symfony-inertia-full-vite-setup | bash -s -- myproject

myproject will have to be replaced by the name of yout project.

About


Languages

Language:Shell 41.6%Language:JavaScript 32.9%Language:PHP 21.1%Language:Twig 4.1%Language:CSS 0.3%