Back to Snowpack

@snowpack/plugin-vue

plugins/plugin-vue/README.md

3.8.5993 B
Original Source

@snowpack/plugin-vue

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

npm install --save-dev @snowpack/plugin-vue
js
// 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.

NameTypeDescription
optionsApibooleanEnable/disable Options API support. Defaults to true.
prodDevtoolsbooleanEnable/disable devtools support in production. Defaults to false.