JSPM

  • Created
  • Published
  • Downloads 53
  • Score
    100M100P100Q108652F
  • License MIT

Package Exports

  • @studiometa/webpack-config-preset-vue-2
  • @studiometa/webpack-config-preset-vue-2/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@studiometa/webpack-config-preset-vue-2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@studiometa/webpack-config-preset-vue-2

NPM Version

A preset for @studiometa/webpack-config to add Vue 2 support to your project.

Usage

Install the package along with Vue:

npm install --save-dev @studiometa/webpack-config-preset-vue-2
npm install --save vue@2

And load the preset in the meta.config.js file:

import { defineConfig } from '@studiometa/webpack-config';
import vue from '@studiometa/webpack-config-preset-vue-2';

export default defineConfig({
  presets: [
    vue(),
  ],
  // ...
});