Closed devilwjp closed 1 year ago
Please provide a runnable reproduction allowing me to reproduce the problem you are seeing. Thanks.
@LinusBorg
The problem has been found. In the latest react project created by create-react-app, I want to create a vue application and use the esmodule specification to import portal-vue, but it will be mapped to portal-vue.common.js
instead of Not portal-vue.esm.js
, but portal-vue.common.js
will require vue.common.js, and my project will use the esmodule specification to import vue, resulting in multiple instances of vue in the project.
version: 2.1.7 Setting
targetSlim
to true inportal-vue.esm.js
is valid, but settingtargetSlim
to true inportal-vue.common.js
will fail to render