Vue.js setup for app development

Hi,

the best to explore how a basic vue app is built would be to have a look at https://github.com/skjnldsv/vueexample

The main difference to the PHP templating is that with vue there is just one template with an empty div where the actual Vue app is attached to: https://github.com/skjnldsv/vueexample/blob/master/src/main.js#L32-L35

If you already have an existing PHP app, you might want to start by adding a basic skeleton to build the Vue app from the src/ directory. The essential files from the vueexample app are:

Please don’t hesitate to ask if anything is unclear or not working. :wink:

2 Likes