@best-shot/preset-vue

A `best-shot` preset for Vue project
4,001 4
Install
npm install @best-shot/preset-vue
Latest Version:0.17.1
Vue:3
Older releases:2
License:MIT
Last Updated:Oct 27, 2026
Links: GitHub  ·  npm
Maintainer: airkro

@best-shot/preset-vue logo

A best-shot preset for Vue project.

npm github node

This preset offer the following features:

Installation

npm install @best-shot/preset-vue --save-dev

Usage

// example: .best-shot/config.mjs
export const config = {
  presets: ['vue'],
  vue: {
    // shadowMode
    // transformAssetUrls
    // compilerOptions
  }
};

Add CSS/SCSS/LESS support

npm install @best-shot/preset-style --save-dev
// example: .best-shot/config.mjs
export const config = {
  presets: ['style', 'vue']
};

Vue 3 migration build support

npm install @vue/compat --save

@vue/compat will become the alias of vue automatically.

// example: .best-shot/config.mjs
export const config = {
  presets: ['vue'],
  vue: {
    compilerOptions: {
      compatConfig: {
        MODE: 2
      }
    }
  }
};

Tips

Whitespace options override

options.compilerOptions.whitespace of vue-loader is set to condense by default.

See: vue-template-compiler#options

Related Packages

vue-template-loader

Vue.js 2.0 template loader for webpack

184,454 263
django-gettext-vue-loader

Loader for vue.js templates that allows to use django gettext template syntax

5,498 5
vue-cli-plugin-template-loader

vue-template-loader plugin for @vue/cli 3.0

587 5
mpvue-loader

mpvue single-file component loader for Webpack

20,800 46
weex-vue-loader

Vue.js component loader for Webpack

13,557 4,958

Version History

Version Released Vue License
0.17.1 ~3.5.42 MIT
0.17.0 ~3.5.38 MIT
0.16.4 ^3.5.29 MIT
0.16.3 ~3.5.28 MIT
0.16.2 ~3.5.28 MIT
Pre-releases (1)
Version Released License
0.0.0-aphla MIT