Skip to content
Snippets Groups Projects
Select Git revision
  • 8.x-1.x
  • 8.x-1.0-alpha4
  • 8.x-1.0-alpha3
  • 8.x-1.0-alpha2
  • 8.x-1.0-alpha1
5 results

README.md

Blame
  • Forked from project / webpack_vuejs
    2 commits behind, 1 commit ahead of the upstream repository.
    Błażej Owczarczyk's avatar
    Blazej Owczarczyk authored
    18990c7f
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.

    Webpack Vue.js

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