unplugin-element-plus
unplugin-element-plus copied to clipboard
动态导入组件方法导入时会出现异常
source:
const DComponent = import('element-plus')
vite build:
const DComponent = import("/node_modules/.vite/deps/element-plus.js?v=12827eec").
import 'element-plus/es/components/button/style/css'
import 'element-plus/es/components/message-box/style/css'
import 'element-plus/es/components/table/style/css'
import 'element-plus/es/components/table-column/style/css'