• This repository has been archived on 31/Dec/2019
  • Stars
    star
    359
  • Rank 118,537 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 9 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Examples of single-spa applications.

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 [email protected]: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

More Repositories

1

single-spa

The router for easy microfrontends
JavaScript
13,289
star
2

import-map-overrides

A browser and NodeJS javascript library for overriding import maps
JavaScript
337
star
3

single-spa-react

Single-spa lifecycles helper for React applications
JavaScript
226
star
4

single-spa-angular

Helpers for building single-spa applications which use Angular
TypeScript
201
star
5

import-map-deployer

A manifest deployment service for sofe/import maps
JavaScript
192
star
6

single-spa-vue

a single-spa plugin for vue.js applications
JavaScript
182
star
7

create-single-spa

JavaScript
133
star
8

single-spa.js.org

JavaScript
108
star
9

single-spa-layout

Layout engine for single-spa applications
JavaScript
78
star
10

single-spa-inspector

A devtools extension for single-spa applications
JavaScript
77
star
11

standalone-single-spa-webpack-plugin

A webpack plugin for running microfrontends in standalone mode.
JavaScript
42
star
12

single-spa-playground

A website that helps you set up single-spa
JavaScript
40
star
13

self-hosted-shared-dependencies

A repo for self hosting shared dependencies
JavaScript
40
star
14

single-spa-angularjs

JavaScript
37
star
15

zh-hans.single-spa.js.org

HTML
31
star
16

vue-cli-plugin-single-spa

JavaScript
21
star
17

single-spa-svelte

a single-spa plugin for svelte applications
JavaScript
20
star
18

single-spa-css

Lifecycle helpers for loading and unmounting css
TypeScript
14
star
19

docker-import-maps-mfe-server

Dockerfile
13
star
20

single-spa-leaked-globals

JavaScript
10
star
21

single-spa-html

A helper library for single-spa and vanilla html / web components
JavaScript
10
star
22

single-spa-alpinejs

Single-spa helpers for alpinejs
JavaScript
9
star
23

import-map-injector

Browser library adding small features to native import maps
TypeScript
7
star
24

single-spa-ember

Helper functions for using single-spa and ember together.
JavaScript
6
star
25

microfrontend-html-assembly

Specification for assembling an HTML file from various microfrontends
3
star
26

ru.single-spa.js.org

Russian translation of single-spa documentation
HTML
3
star
27

pt-pt.single-spa.js.org

Portuguese (Portugal) documentation for single-spa
HTML
3
star
28

single-spa-preact

a single-spa plugin for preact applications
JavaScript
3
star
29

sync-fork-repo

JavaScript
3
star
30

id.single-spa.js.org

Indonesian documentation
HTML
3
star
31

es.single-spa.js.org

Spanish translation of single-spa documentation
HTML
2
star
32

dom-element-getter-helpers

TypeScript
2
star
33

fr.single-spa.js.org

HTML
2
star
34

single-spa-aurelia

single-spa adapter for Aurelia framework
JavaScript
2
star
35

browserslist-config-single-spa

A shareable browserslist config for single-spa projects
JavaScript
2
star
36

design-docs

TypeScript
1
star
37

single-spa-dojo

single-spa adapter for dojo
JavaScript
1
star
38

single-spa-inferno

a single-spa plugin for Inferno applications
JavaScript
1
star
39

action-deploy-to-import-map-deployer

Github action for deploying to import-map-deployer
JavaScript
1
star
40

import-map-microfrontend-utils

Utility types and functions for import-map-microfrontend related projects
TypeScript
1
star