Most voted "angular-cli" questions
21 questions
Sort by count of
-
6
votes3
answers31875
viewsHow to know the version of Angular installed by Angular CLI?
I wonder how I can find out the version of Angular I’m using?
-
4
votes1
answer95
viewsIs it possible to add properties to the css file created by the angular build?
My angular build generates a stylesheet addition in the index.html as follows: <link rel="stylesheet" href="style-1.css"> <link rel="stylesheet" href="style-2.css"> You can configure it…
-
3
votes1
answer99
viewsWhat is the difference between ng new and ng generate application?
I know that the ng new nome-projeto creates a directory with the project inside, but I’m not able to understand the difference between it and the ng generation application. In the Angular…
-
1
votes1
answer792
viewsError trying to initialize Angular project (To disable this Warning use "ng config -g cli.warnings.versionMismatch false")
I picked up a project I’m studying from a course. I installed the Node department with the command npm install and it all worked out. When initializing webPack with the command ng serve shows this…
-
1
votes1
answer446
viewsAngular-cli ng generate library does not work
I have a design in version 5 of the angular, which generates a library using the rollup and works properly. But I’m on the migration from version 5 to version 6 of the angular and wanted to use the…
-
1
votes1
answer1879
viewsAngular 6 CLI command to create a Component in a specific folder
Is there any way to create a Component in Angular 6 CLI by specifying which folder it should be in? I searched the net and found the ng g c nome-componente --module=app but this is just to say that…
-
1
votes0
answers59
viewsFormat html text structure of the same format as a Word file
I’m searching more I’m not able to find anything like it. Create a modal with a service contract structure based on a word. As attempts copy this text directly to my html content. However it does…
-
0
votes1
answer454
viewsAngular CLI installation stops
When I use the command install -g @ angular/cli Nodejs starts loading all Angular dependencies, but when it starts downloading the file [email protected] It stands still and does not load anymore and…
-
0
votes3
answers4107
viewsHow to implement Bootstrap 4 in Angular CLI
I’m having trouble using Bootstrap with the Angular CLI. I am using ng-bootstrap and I am following all the recommendations of the site, but without success, someone knows how to use? installation…
-
0
votes1
answer642
viewsHow do you leave objects side-by-side coming from *ngFor?
I have this situation: <div class="row"> <div class="col-lg-12"> <!-- 1 Primeiro cartão, 1° objeto --> <div class="card borda-card" *ngFor="let evento of eventos"> <a…
html twitter-bootstrap angular twitter angular-cliasked 6 years, 7 months ago Rafael Souza Calearo 191 -
0
votes1
answer4391
viewsAngular5 - Error: Local Workspace file ('angular.json') could not be found
This error happens when I start the application: Local Workspace file ('angular.json') could not be found. Error: Local Workspace file ('angular.json') could not be found. At Workspaceloader.…
-
0
votes1
answer141
viewsHow to create an angular project without Initial commit?
As there is no example in the documentation of angular.io, I can’t start a project without it running an Initial commit, according to options in the documentation, I tried several ways and nothing,…
-
0
votes1
answer822
viewsProblem creating project with Angular CLI
A good personal day, I’m starting my studies in Angular 2, using Docker for container management. Right at the beginning I’m already having problems, the creation of the project has been presenting…
-
0
votes0
answers55
viewsAngular Compiler was Detected but it was an instance of the Wrong class
I am currently working on a project, consuming a Rest api from the angular, but in the process, I am encountering an error that is returning me that I have 2 webpack packages within my application.…
-
0
votes0
answers231
viewsChange folder components (Angular.io 7+)
Nowadays I have the following structure in my Angular7 project .src ..app ...dash-component ...login-component ...outro-component Is there a way to automatically change the components directory…
-
0
votes0
answers36
viewsIgnore folder in project construction for production
Hello, I’d like when to execute the ng build --prod angular ignores a folder and its contents inside the folder assets. I tried using the following configuration inside the.json angular, it even…
-
0
votes0
answers524
viewsAngular error-devkit/build-angular
I have in package.json "scripts": { "ng": "ng", "start": "ng serve", "lint": "tslint \"src/**/*.ts\" --project src/tsconfig.json --type-check && tslint \"e2e/**/*.ts\" --project…
-
0
votes1
answer238
viewsLosing ngx-Translate translation while building with --Prod
// translate import { Globalization } from '@ionic-native/globalization'; import { TranslateModule, TranslateLoader } from '@ngx-translate/core'; import { TranslateHttpLoader } from…
-
0
votes0
answers21
viewsOperation of the service worker in a keyclock application
I am creating an application, where the login is done by the service "Keyclock" and the application is angular. When enabling the service worker and running local, it does exactly as expected,…
-
-2
votes2
answers355
viewsAngular - Page without showing previous components
I’m new at the angle, accustomed to HTML href and just open another page, let’s get to the problem! 1 - I have a form asking for the name and a button of Ubmit 2 - I have another component which is…
-
-5
votes1
answer104
viewsVersion conflict errors when running Angular 4.2 project
I took a project in Angular for maintenance, but it’s in the version of Angular CLI 4.2 My system is with the versions of Node, Typescript and Angular cli in the following versions: Angular CLI:…