Closed fzn0x closed 2 years ago
Is there non-hacky way for microfrontends using vite ? It would be good if vite supporting microfrontends.
Using new properties in vite.config.js to share preview between frontends.
vite.config.js
Take a look of https://webpack.js.org/plugins/module-federation-plugin/ for example.
different approach is welcome :)
No response
if you want module federation, there's a plugin https://github.com/originjs/vite-plugin-federation
Cool! thanks @Niputi
Clear and concise description of the problem
Is there non-hacky way for microfrontends using vite ? It would be good if vite supporting microfrontends.
Suggested solution
Using new properties in
vite.config.js
to share preview between frontends.Take a look of https://webpack.js.org/plugins/module-federation-plugin/ for example.
Alternative
different approach is welcome :)
Additional context
No response
Validations