Open haiting opened 1 year ago
请问问题解决了吗?
registeredLayoutStore
没呢,改了代码引用方式
export function useLayoutStoreWithOut() {
return {
state: { ...state },
actions: { ...actions },
getters: { ...getters },
mutations: { ...mutations }
};
}
动态改静态我也不行 🤦 ,第三方ui库,vue组件里混着写。。。,或者能让这插件支持build么?
开启了
transformMixedEsModules: true
, require 动态引入文件, vite preview 依然报错transformMixedEsModules
: build: { commonjsOptions: { transformMixedEsModules: true }, },或者:
pnpm build
pnpm preview
Originally posted by @u373693041 in https://github.com/originjs/vite-plugins/issues/9#issuecomment-1132634279