Skip to content

A boilerplate repo for the Single Spa framework to be used with a micro app built with Angular.

Notifications You must be signed in to change notification settings

ronbravo/single-spa-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Single SPA Boilerplate

This project was build with the Single SPA Boilerplate repo. A set of boilerplate configurations for working with the Single SPA framework. The boilerplates are broken out into separate branches with a desire to keep them as minimal as possible. Each branch should have it's own README.md file with specific instructions for working with that particular setup.

NOTE: You may want to replace the information in the package.json with the appropriate information about the maintaining organization or company.

Install Cli Tool

After cloning this repo, go into the repo project and run:

cd single-spa-boilerplate
npm link

Then confirm the proper linkage and that the cli tool is running by typing spa into the terminal and there should be a response.

Sample Cli Commands

Here are a few commands that can be run with the cli tool. NOTE: The commands should be run inside a project created with the cli tool. Check the examples below to see how this is done.

// Add an spa project
spa new --project <proj-name>

// Add an angular spa app to a project.
spa new --app <app-name> --type <app-types>

// Possible app types
angular-10 - An angular 10 compatible spa micro app.

About

A boilerplate repo for the Single Spa framework to be used with a micro app built with Angular.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published