@view-launcher/vue-loader

The webpack loader of view-launcher for Vue

Usage no npm install needed!

<script type="module">
  import viewLauncherVueLoader from 'https://cdn.skypack.dev/@view-launcher/vue-loader';
</script>

README

@view-launcher/vue-loader

Webpack loader for Vue.js SFC. Must be used along with vue-loader.

Usage

Installation

npm i @view-launcher/vue-loader -D

Example webpack.config.js

const path = require('path');

module.exports = {
  //...
  module: {
    rules: [
      {
        test: /\.vue$/,
        use: [
          {
            loader: 'vue-loader',
            options: {/* ... */}
          },
          {
            loader: '@view-launcher/vue-loader',
          }
        ]
      }
    ]
  }
};

Be sure that you put this loader after vue-loader.