This an accompanying repository to the blog post Standalone Angular Tour Of Heroes (German version: https://www.guido-flohr.net/angular-tour-of-heroes-als-standalone-app/). It shows how you can make the Angular Tour of Heroes Tutorial work when generated with Angular 17 and strict mode using standalone components without models.
Run npm run start
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run npx 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.
The unit tests will not work, just as with the original tests.
The e2e tests will not work, just as with the original tests.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.