Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Vue microfrontends to use recently released @module-federation/[email protected] #27489

Open
1 task
mshima opened this issue Oct 3, 2024 · 5 comments · May be fixed by #27493
Open
1 task

Switch Vue microfrontends to use recently released @module-federation/[email protected] #27489

mshima opened this issue Oct 3, 2024 · 5 comments · May be fixed by #27493
Labels
area: enhancement 🔧 $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ theme: vue $100 https://www.jhipster.tech/bug-bounties/

Comments

@mshima
Copy link
Member

mshima commented Oct 3, 2024

Overview of the feature request

Vue is still using webpack as microfrontend.
With vite alternative reaching v1.0.0 it’s time to try the switch again.

Version 1.0.0 switched to @module-federation/runtime from @softarc/native-federation which is not responsive angular-architects/module-federation-plugin#367, angular-architects/module-federation-plugin#324

Motivation for or Use Case
Related issues or PR
  • Checking this box is mandatory (this is just to show you read everything)
@DanielFran DanielFran added $100 https://www.jhipster.tech/bug-bounties/ $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ labels Oct 3, 2024
@gioboa
Copy link

gioboa commented Oct 5, 2024

I'm a core team member of module federation vite, I would like to help with this activity

@DanielFran DanielFran linked a pull request Oct 5, 2024 that will close this issue
6 tasks
@DanielFran
Copy link
Member

@gioboa All help is welcome. See #27493

@mshima
Copy link
Member Author

mshima commented Oct 7, 2024

Following #27493 @module-federation/vite is not a viable alternative for us:

@gioboa
Copy link

gioboa commented Oct 7, 2024

I see, is there any possibility for improving on our side?

@mshima
Copy link
Member Author

mshima commented Oct 7, 2024

@gioboa the sample that uses vue with module-federation is ms-mf-vue-consul-oauth2-mysql-memcached.
You can download it directly through app-ms-mf-vue-consul-oauth2-mysql-memcached link or in CI artifacts https://github.com/jhipster/generator-jhipster/actions/runs/11220830980?pr=27493.

It's possible to run in workspaces root scripts like npm run ci:e2e:package and npm run ci:frontend:test or vite in each workspace.
There are too many upstream adjusts needed for me to try to fix. If they are fixed we can resume this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: enhancement 🔧 $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ theme: vue $100 https://www.jhipster.tech/bug-bounties/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants