Example Angular SPA using the Bloomreach Experience Angular SDK. This project was generated with Angular CLI.
This example is part of a monorepo and other packages will have to be build in order for this example to run. Read more in the root README on how to install, build and run the examples.
In the project directory, you can run:
Run npm run start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
For Angular Universal application, you can use npm run dev:ssr.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run npm run build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Run npm run start:ssr to start Angular Universal application.