single-spa / single-spa-react

Single-spa lifecycles helper for React applications
https://single-spa.js.org/docs/ecosystem-react.html
MIT License
227 stars 63 forks source link

Vite support & example? #156

Closed AsuraKev closed 1 year ago

AsuraKev commented 2 years ago

Is there an example where we can replace webpack with vite? :)

dbgordon09 commented 1 year ago

This is also something that is blocking our migration to Vite as this all relies on CRACO plugins to generate the single-spa parcels.

This would be absolutely awesome! @joeldenning 🙌🏻

Would be super interesting to hear whether you think this is feasible.

simon-lang commented 1 year ago

I got my Vite+React app working with single-spa by following this example: https://github.com/stephenwil/vite-single-spa-example/

MilanKovacic commented 1 year ago

https://github.com/MilanKovacic/single-spa-vite

MilanKovacic commented 1 year ago

Closing due to inactivity. Feel free to reopen the issue if the problem still persists.