Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

single-spa/single-spa-examples

Repository files navigation

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