This is the code for a tutorial on how to use Vue.js in WordPress. The tutorial can be found at: https://dev.to/workingwebsites/using-vue-in-wordpress-1b9l
TLDR;
- Create a plugin in WordPress to use the code
- Create a shortcode in the plugin
- Create your Vue code
- Load Vue, then your code file.
- Make sure your .js file is loaded after the dom is drawn.
You're done!