Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/niketpathak/symfony-vue-tutorial

Integration of the amazing Vue JS frontend with Symfony. Suitable for a traditional web App as well as a SPA.
https://github.com/niketpathak/symfony-vue-tutorial

symfony symfony-flex symfony3 symfony4 vue vuejs vuerouter webpack-encore

Last synced: about 1 month ago
JSON representation

Integration of the amazing Vue JS frontend with Symfony. Suitable for a traditional web App as well as a SPA.

Awesome Lists containing this project

README

        

**Tutorial** at [**Digital Fortress**](https://digitalfortress.tech/tutorial/symfony-vue-js-integration/)

**Requirements:**

You should have [**composer**](https://getcomposer.org/download/), [**node**](https://nodejs.org/en/download/) and [**yarn**](https://yarnpkg.com/en/docs/install) package manager installed.

**Steps:**

1. **Clone** this repository
2. **Cd** to the root directory in your terminal (`cd symfony-vue-tutorial`)
3. Execute **`composer install`** to install all the PHP dependencies
4. Execute **`npm install`** to install all the Javascript dependencies
5. Run development Server **`php bin/console server:start`**
6. Build JS assets **`yarn run encore dev --watch`**
7. 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/](https://digitalfortress.tech/tutorial/symfony-vue-js-integration/)