Skip to content

Vite plugin

Deprecated. Use unplugin-fluent-vue instead.

Vite support for custom blocks in SFC is provided by rollup-plugin-fluent-vue.

js
import vue from '@vitejs/plugin-vue'
import fluentPlugin from 'rollup-plugin-fluent-vue'

export default {
  plugins: [vue(), fluentPlugin()]
}

Options

blockType

Type: string
Default: fluent

Custom block tag name.

MIT Licensed