Ejemplos de Single-spa
Ejemplos del equipo central
Activamente mantenidos
- React Microfrontends (Revisa primero el repositorio root-config)
- Vue Microfrontends (Revisa primero el repositorio root-config)
- Polyglot Microfrontends (Revisa primero el repositorio root-config)
- single-spa-es5-angularjs Es un ejemplo de es5 muy pequeñito con angularjs.
- Isomorphic Microfrontends muestra varios ejemplos usando renderizado en el servidor (SSR) con single-spa y single-spa-layout.
Ejemplos más antiguos
- coexisting-angular-microfrontends is a full blown Angular 9 microfrontends repo that combines three separate Angular CLI projects into one page.
- coexisting-vue-microfrontends shows three separate Vue CLI projects existing within one page.
- single-spa-portal-example is a great example of coexisting React microfrontends.
- simple-single-spa-webpack-example is a small, simple example that can be used as a webpack starter.
Ejemplos de la comunidad
- single-spa-parcel-example is an example of one Vue and one React microfrontend, containing a React and a Vue parcel respectively and two Node.js microservices running in 6 different Docker VMs seamlessly working together in a single web app located in a 7th VM.
- single-spa-login-example-with-npm-packages is a single-spa application example which imports registered applications from NPM packages and manages authentication features as login.
- demo-single-spa-with-spax is a tiny spax example with react-scripts and craco.
- single-spa-html with js example is an example repo of using single-spa-html that is enhanced with plain JavaScript.
- coexisting-angular-microfrontends/login is a branch that implements a login functionality between Angular apps. It uses localStorage as shared memory space to store and retrieve a token.
- single-spa-angular-cli is an all-Angular example repo that uses SystemJS to load single-spa-angular applications into a containing Angular CLI application at different routes.
¿Tienes tu propio repositorio de inicio? Envía un PR para agregarlo a esta lista.