This is a starter for SingleSPA that aims to help other devs who are trying to update legacy apps that uses AngularJS, especially in the case where you can't simple just write all the features again.
This isn't supposed to be a definitive architecture, but a starting point for you to build your own, feel free to modify it as you need.
In this project we have:
- AngularJS with Webpack
- Prefix to avoid CSS styles being applied to components outside of AngularJS.
- AngularJS rendering a Parcel that contains Angular 15 with standalone components. (Checkout to the branch
angularjs-with-parcels
)
- Clone this repository.
- In the root directory run
pnpm install
. - Run
pnpm start
to start root config. - Change to the
angularjs
directory and runpnpm install
again. - Run
pnpm run serve
to start the AngularJS app. - Go to
http://localhost:9000/
to see the app running.