Use the Vue 3 compiler to build your .vue
SFC files from source.
npm install --save-dev @snowpack/plugin-vue
// snowpack.config.json
{
"plugins": [["@snowpack/plugin-vue", { /* see "Plugin Options" below */}]]
}
{
// Matches all ".vue" files
"scripts": {"build:vue": "@snowpack/plugin-vue"}
}
You can override this by setting your own "@snowpack/plugin-vue"
build script.
None (but we should add support to pass options to the compiler).