Skip to content
This repository has been archived by the owner. It is now read-only.
Examples of single-spa applications.
JavaScript HTML TypeScript CSS
Branch: master
Clone or download

README.md

single-spa-examples

This repo is archived! Do not use it as a starter kit for single-spa. See https://single-spa.js.org/docs/examples/ for up-to-date examples.

https://single-spa.surge.sh

This is an example of examples on how to use single-spa in a variety of contexts. If you're looking for a simpler example that's just a webpack starter for single-spa, try out simple-single-spa-webpack-example. Right now there are examples with the following technologies:

  • React
  • AngularJS
  • Angular
  • react-router
  • angular-ui-router
  • Webpack
  • Babel
  • Vue
  • Svelte
  • Ember
  • Inferno
  • Preact
  • CycleJS

View the demo!

A demo is live on surge.sh.

How to get the examples running locally

git clone git@github.com:CanopyTax/single-spa-examples.git
cd single-spa-examples

# Install yarn at https://yarnpkg.com/lang/en/docs/install/
yarn
yarn build
yarn start
open http://localhost:8080
You can’t perform that action at this time.