single-spa-angular-custom
v1.0.5
Published
This is a custom schematics built on top of single-spa-angular schematics which fixes running the application in standalone mode
Downloads
28
Maintainers
Readme
Single SPA Angular Custom
After adding single spa angular (ng add single-spa-angular) schematics in any angular application, the application does not work without single spa container anymore. This schematics helps in creating a new profile in angular.json
which fixes the application in standalone mode.
Installing
First run the single-spa-angular
schematics (Skip this step if single spa angular schematic is already added)
ng add single-spa-angular
After it's successfully done execute:
ng add single-spa-angular-custom
If Angular cli is not installed gloablly
npx ng add single-spa-angular-custom
It adds the following scrips to package.json
"start": "ng run <project name>:serve-local --port 4300", // You will be prompted to enter the port while running the schematics
"build": "ng run <project name>:build-local",
Now run npm start
. You should be able to run your application locally without Single spa container
http://localhost:4300