Tutorial at Digital Fortress
Requirements:
You should have composer, node and yarn package manager installed.
Steps:
- Clone this repository
- Cd to the root directory in your terminal (
cd symfony-vue-tutorial
) - Execute
composer install
to install all the PHP dependencies - Execute
npm install
to install all the Javascript dependencies - Run development Server
php bin/console server:start
- Build JS assets
yarn run encore dev --watch
- Navigate to
http://localhost:8000/
Thats all folks!
If you have any doubts/errors, follow the tutorial at https://digitalfortress.tech/tutorial/symfony-vue-js-integration/