I am just about to build an application that will consist of a rest api for the backend which is then consumed by a vuejs application.
I would like the frontend and backend code to be in the same code repository.
I am just struggling to figure out where to put my vuejs files.
Currently my project directory structure looks like this:
/project-dir
/app
/bin
/src
/tests
/var
/vendor
/web
Now do I put all the js files in /project-dir/web? Like this:
/project-dir
/app
/bin
/src
/tests
/var
/vendor
/web
/build
/config
/node_modules
package.json
/src
/static
/test
I feel this might be a good way to structure it but not sure if there are any downsides with doing it this way. How would you integrate vuejs and webpack into a skeleton symfony application?