angular cli

Version with Angular CLI

Displaying the version of your application is useful in almost every scenario. The Angular CLI, really Webpack, make it easy to access the current version from your package.json file. In your component file we first need to set to access the package.json file. const { version: applicationVersion } = …