@snowpack/plugin-vue

Use the [Vue 3 compiler](https://www.npmjs.com/package/@vue/compiler-sfc) to build your `.vue` SFC files from source.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@snowpack/plugin-vue
19,7593982.6.2a year ago2 years agoMinified + gzip package size for @snowpack/plugin-vue in KB

Readme

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