This project was generated with Angular CLI version 18.0.7.
https://maurvick.github.io/angular-expense-tracker/
-
A folder name like
angular-expense-trackerwill be ignored by the by the path system when trying to build a project that will not be able to load the necessary scripts. -
Configure the
baseHrefandoutputPathproperties in theangular.jsonfile to make sure that the path to the location of all scripts from index.html is correct. For example :“outputPath": “dist”, ‘baseHref’: “/dist/browser/”, -
Some code cannot be transcribed by polyfills because it is incorrect. For example:
ERROR Syntax error: JSON.parse: unexpected end of data on line 1 of column 1 of Angular 48 getItem JSON data ... <anonymous> main-XFBMJ64V.js:7:29593. The problem here was that getItem was trying to return an invalid value, so fixing this error solved the problem. -
Add separate
baseHreffor deploy. If your url address to web page ishttps://maurvick.github.io/ angular-expense-tracker/, use/angular-expense-tracker/as yourbaseHref.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.
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 ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.