flowbite-vue
flowbite-vue copied to clipboard
SyntaxError: Named export 'Tab' not found. The requested module 'flowbite-vue' is a CommonJS module
vitepress render error (yarn docs:build)
✖ rendering pages...
build error:
file:///Users/xxxxxx/Documents/codes/playground/onlinetool/docs/.vitepress/.temp/creator_qrcode-tool.md.js:3
import { Tabs, Tab } from "flowbite-vue";
^^^
SyntaxError: Named export 'Tab' not found. The requested module 'flowbite-vue' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'flowbite-vue';
const { Tabs, Tab } = pkg;