Skip to content

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

@lmm1990

Description

@lmm1990

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions