@snowpack/plugin-vue

v0.7.0

@snowpack/plugin-vue

Use the Vue 3 compiler to build your .vue SFC files from source.

npm install --save-dev @snowpack/plugin-vue
// snowpack.config.mjs
export default {
  plugins: [
    '@snowpack/plugin-vue',
    {
      /* see optional “Plugin Options” below */
    },
  ],
};

Plugin Options

You may customize Vue's bundler behavior using the following plugin options.

Name Type Description
optionsApi boolean Enable/disable Options API support. Defaults to true.
prodDevtools boolean Enable/disable devtools support in production. Defaults to false.
npm i @snowpack/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 5/21/2020

Downloads

Maintainers