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 />',
});

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Created by blazey on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases