Rollup plugin

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

import vue from 'rollup-plugin-vue'
import fluentPlugin from 'rollup-plugin-fluent-vue'

module.exports = {
  plugins: [
    vue({
      customBlocks: ['fluent']
    }),
    fluentPlugin()
  ]
};
1
2
3
4
5
6
7
8
9
10
11

Options

blockType

Type: string
Default: fluent

Custom block tag name.