Vite plugin

Vite support for custom blocks in SFC is provided by rollup-plugin-fluent-vueopen in new window.

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

export default {
  plugins: [vue(), fluentPlugin()]
}
1
2
3
4
5
6

Options

blockType

Type: string
Default: fluent

Custom block tag name.