Top "Angular-cli" questions

The Angular CLI is a command line interface for building, managing and deploying Angular (version 2+) applications.

Angular-cli : Using ng lint

I'm aware the angular-cli uses codelyzer which uses lint.js When using the command: ng lint Can it automatically fix …

jslint angular-cli
How to use Bootstrap 4 with SASS in Angular

I'd like to use Bootstrap 4 with SASS in an Angular(4+) project created with Angular CLI. In particular I need to: …

angular sass angular-cli bootstrap-4
Load new modules dynamically in run-time with Angular CLI & Angular 5

Currently I'm working on a project which is being hosted on a clients server. For new 'modules' there is no …

javascript angular webpack angular-cli angular5
How do I add Sass compilation in Angular CLI 6: angular.json?

I just created a new Angular project using the new Angular CLI 6.0, but I need to add Sass compilation to …

angular npm sass angular-cli
tslint complaining "statements must be filtered with an if statement" when using switch

Lets say I have the following method: getErrorMessage(state: any, thingName?: string) { const thing: string = state.path || thingName; const messages: …

angular typescript angular-cli tslint
Electron - Not allowed to load local resource

Evening, I'm looking into using electron to package an existing angular2 build. I thought I had a dry run working …

angular electron angular-cli electron-builder
Angular 2 Routing Does Not Work When Deployed to Http Server

I am going to develop a simple Angular 2 application. I have created a project with routing, using Angular CLI and …

angular npm angular2-routing angular-cli angular2-template
how to enable gzip compression in angular cli for production build

I would want to compress the bundle files that are created when building the angular project. I use ng build …

angular compression angular-cli gzip angular7
@types/googlemaps/index.d.ts' is not a module

I want to use the Google Maps API with my Angular project, so I used these two commands to install …

angular typescript angular-cli angular-cli-v6
Debug Tests in NG Test

I am using Angular CLI and VSCode but none of my breakpoints in my spec files seem to be getting …

angular visual-studio-code karma-jasmine angular-cli