originjs / vite-plugin-federation

Module Federation for vite & rollup
Other
2.39k stars 242 forks source link

Error: When the remote project component contains a slot, using it will report an error #274

Open dlpuzhangyue opened 2 years ago

dlpuzhangyue commented 2 years ago

Hello, In the "nuxt_vite_remote(use vite, as remote) & vue_cli_webpack (use webpack as remote)" example; If the slot property is included in the webpack project, the error "TypeError: Cannot read properties of null (reading 'isCE')" will be reported in nuxt project; This problem does not occur in two projects that use webpack; Is there any good solution here please?

image

slot_error_demo.zip

flozero commented 1 year ago

same here. Just using two project using vue 3 latest version and latest version of vite

vladbuich commented 1 year ago

+1 any suggestions ?

alexislopes commented 1 year ago

same problem here. Any updates?

ja-plus commented 1 year ago

same. wait for resolution.. the error occured in vite@4 and @vitejs/plugin-vue@4

when I downgrade to vite@2.8.0 and @vitejs/plugin-vue@2.2.0 The error gone.

strawberry-choco commented 1 year ago

Waiting for updates. This is a blocking issue for us to adopt this plugin.

rainTai commented 1 year ago

+1

tuskermanshu commented 4 months ago

The same problem, please ask for a solution, vue said it is the problem of multiple instances , but according to the given program is still invalid!

liuwanlong commented 1 week ago

the same problem,it's a blocking issue.