PHP 7.4
symfony binary
node
yarn
Clone repository, then:
composer install
yarn install
yarn watch # or yarn build
symfony new --version=lts --full symfony-svelte
composer require symfony/webpack-encore-bundle
yarn add svelte-loader svelte tailwindcss [email protected]
php bin/console make:controller HomeController
Setting up Symfony and Svelte by Garth Mortensen
How to use TailwindCSS with Symfony's Encore by Stefan Bauer