@snowpack/plugin-vue

2.6.2 • Public • Published

@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.

Dependents (5)

Package Sidebar

Install

npm i @snowpack/plugin-vue

Weekly Downloads

348

Version

2.6.2

License

MIT

Unpacked Size

29.4 kB

Total Files

24

Last publish

Collaborators

  • fredkschott
  • drewpowers