This is a template to get started on a new Symfony/Vue3 project, everything is already set up and good to go.
composer install
symfony serve
npm installyarn installnpm run watchyarn run encore production-
Create a
.php-versionfile and simply type in your php version to fix the errorExample :
8.1.3 -
Change the database path in the
.envfile, and don't forget to add the.envfile to your .gitignore -
@refers to/{DIRECTORY}/assetspathCan be changed or added in the webpack file using
.addAliases()Example :
.addAliases({ '@': `${__dirname}/assets`, })