Integrate Vue JS with Drupal

Vue JS is a front end framework, similar to Angular and React. I started learning it recently and wanted to integrate it with a Drupal site. There are a few ways I could have done this.

  1. Override templates in the theme to add Vue markup. Load app code in the theme.
  2. Create a module that adds some Vue enabled Drupal components.
  3. Create a standalone Vue app.

 

You will face this decision with any front end framework.

 

Resources:

Vue: https://vuejs.org/

Tags
Javascript