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 install
yarn install
npm run watch
yarn run encore production
-
Create a
.php-version
file and simply type in your php version to fix the errorExample :
8.1.3
-
Change the database path in the
.env
file, and don't forget to add the.env
file to your .gitignore -
@
refers to/{DIRECTORY}/assets
pathCan be changed or added in the webpack file using
.addAliases()
Example :
.addAliases({ '@': `${__dirname}/assets`, })