Integration of the amazing Vue JS frontend with Symfony. Suitable for a traditional web App as well as a SPA.
Tutorial at Digital Fortress
Requirements:
You should have composer, node and yarn package manager installed.
Steps:
cd symfony-vue-tutorial
)composer install
to install all the PHP dependenciesnpm install
to install all the Javascript dependenciesphp bin/console server:start
yarn run encore dev --watch
http://localhost:8000/
Thats all folks!
If you have any doubts/errors, follow the tutorial at https://digitalfortress.tech/tutorial/symfony-vue-js-integration/