-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
feat(vite): Compatibility documentation #3065
Conversation
|
✅ Deploy Preview for module-federation-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thanks for your contribution of vite , I experienced this according to the documentation , and have two issues
|
When i visit host , the console will throw the below error :
|
It shouldn’t be impossible to start easily. Let me check. |
remotes:{
// both can not work
// vite_provider: 'vite_provider@http://localhost:5175/remoteEntry.js',
vite_provider: {
name: "vite_provider",
entry: 'http://localhost:5175/remoteEntry.js',
type: "module"
},
} For the error message you’re encountering, you can try setting the type. |
Do you visit host page ? looks like you are visiting provider page |
need add .__mf__temp to .gitignore |
Thanks , that works for me So maybe it need to add to the docs ? Include the .__mf__temp |
Adding .__mf__temp to the documentation feels a bit disorganized. I think it would be helpful to explain the remotes configuration in more detail. |
module-federation/vite#74 |
Yeah that's perfect |
Description
Related Issue
Types of changes
Checklist