Part of the Webpack ecosystem · 4 projects
This project provides the necessary webpack configuration to integrate Vue.js into your Drupal site. It allows you to leverage Vue.js components and features within your Drupal theme or modules.
Provides Vue.js configuration for the webpack module.
Dependencies
Installation
yarn add vue vue-loader vue-template-compiler
Example usage
module.libraries.yml
test:
webpack: true
js:
index.js: {}
index.js
import Vue from 'vue';
import Component from './Component.vue';
Vue.component('test-component', Component);
const app = new Vue({
el: '#page',
template: '<test-component />',
});
Ask your assistant about Webpack Vue.js
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Webpack ecosystem
Most installed first