liuhuatao / single-spa-examples

Examples of single-spa applications.

Home Page:https://single-spa.surge.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

single-spa-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

About

Examples of single-spa applications.

https://single-spa.surge.sh

License:MIT License


Languages

Language:JavaScript 89.2%Language:HTML 8.2%Language:TypeScript 1.3%Language:CSS 1.3%