originjs / vite-plugin-federation

Module Federation for vite & rollup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

【bug】vue3-demo-esm-shared-store running __federation_shared_myStore-ed6e87a0.js 404

lmm1990 opened this issue · comments

Versions

  • vite-plugin-federation: 1.3.5
  • vite: 4.0.5

Reproduction

https://github.com/originjs/vite-plugin-federation/tree/cfaa562f0dde19c65651490876fb938e84b5603e/packages/examples/vue3-demo-esm-shared-store

Additional Details

Steps to reproduce

pnpm i
pnpm build
pnpm serve:remotes
pnpm dev:hosts

What is Expected?

normal operation

What is actually happening?

__federation_expose_Button-f9f0b374.js:1

GET http://localhost:5001/assets/__federation_shared_myStore-ed6e87a0.js net::ERR_ABORTED 404 (Not Found)
Uncaught TypeError: Failed to fetch dynamically imported module: http://localhost:5001/assets/__federation_expose_Button-f9f0b374.js

commented

请问这个问题,您这边解决了吗

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I would like to ask, have you solved this problem?