angular-cli-v6 Questions
4
Solved
I've got an Angular 6 project that I've generated using Angular CLI 6 (6.08).
I created separate libraries using the ng generate library [lib name] --prefix [lib prefix] (approach outlined in this...
Swiger asked 21/7, 2018 at 0:12
2
Solved
When I try to build an angular7 project inside docker it takes around 40 minutes. The line that takes 40 minutes is
ng build --prod
92% chunk asset optimization TerserPlugin
I've ran ng build --...
Okelley asked 19/4, 2019 at 7:12
2
Solved
All our Angular applications are bootstrapped in other applications (.jsp files which load the javascript files and include the <app-root> tag), so we have no need for an index.html**.
Howev...
Shambles asked 14/8, 2018 at 12:37
4
Solved
Today, I updated my angular cli to the latest version and encountered an error that stops me from creating a new Angular project. Following is the error log that I get after executing ng new app-na...
Codicil asked 6/5, 2018 at 9:55
4
I am using font-awesome 4.70, angular 6.0.8, and cli 6.0.8(full versioning below)
I am trying to replace our existing webpack process with the cli's "ng build". I have run into an issue with font a...
Sammysamoan asked 19/6, 2018 at 18:8
6
Solved
I am trying to use the Angular schemats that are shown on this page.
When I try to use this following command in the terminal at the root of the project ng generate @angular/material:material-nav -...
Frazier asked 23/6, 2018 at 18:24
4
How can you setup a index.scss and import global stylesheets for variables, mixins, etc, to an angular 6 library?
Angular CLI generates a lib with a root component & component scss, but the s...
Alby asked 29/5, 2018 at 10:35
1
I am trying to write a custom webpack module to override or extend the current SCSS build in angular 6 with cli 6, with the intention of being able to pass in a 'brand' and match it to any override...
Hitandrun asked 21/9, 2018 at 0:29
1
How to stop webpack-dev-server programatically of a CLI command against the port ?
Ctrl-C etc are good for manually stopping the server. We are basically killing it.
Is there a API that the serve...
Rexanna asked 2/8, 2018 at 17:28
2
Solved
I'm converting a library (ng-app-state) to use the angular cli, now that v6 supports libraries (yay!).
When trying to run certain CLI commands it fails with an error like this:
$ ng test --source...
Savagery asked 5/5, 2018 at 13:21
2
My Angular App is not working in IE lower than 11, however previously it was not even working in IE 11, but after uncommenting some imports in polyfills.ts it worked, but the problem still persists...
Glindaglinka asked 6/7, 2018 at 10:59
1
Solved
I'm trying to use Google Chrome workspaces with CSS persistent editing in an Angular 6/7 CLI project.
When adding "extractCSS:true" in angular.json configuration and using "--source-map=true" flag...
Bani asked 21/11, 2018 at 12:30
2
In angular 6 project, I created angular library using angular cli command ng g lierary @some/libName. In my library, I have a component which needs @ng-bootstrap/ng-bootstrap, so I added it by npm ...
Yeh asked 12/5, 2018 at 13:23
3
Solved
How I can install a previous version of Angular project with the current Angular-cli version (Angular 6).
I found a command but is deprecated:
ng new my_project --ng4
Harbard asked 10/5, 2018 at 12:8
2
I just updated angular cli to version 6. And of course my app is broken and have been trying to look at docs and SO questions trying to figure out how to add an environment to angular.json? I want ...
Roadster asked 23/5, 2018 at 13:12
1
Solved
I have this sitemap.xml file in my assets folder under src:
When building my project via the cli with ng build --prod the resulting folder looks like this:
My question is simply how I can move ...
Golly asked 28/11, 2018 at 19:46
2
Solved
I have updated my angular-cli with the help of ng update @angular/cli command. After that, I have got an error as Could not determine single project for 'server' target with following error trace.
...
Sabrasabre asked 16/7, 2018 at 18:47
3
I am trying to migrate my ASP.NET Core 2.0 Angular 5 application with webpack setup to ASP.NET Core 2.1 Angular 6 with Angular-Cli.
Short question:
How can I force parsing razor pages directives...
Temikatemp asked 12/6, 2018 at 10:54
1
Solved
When creating a new nx workspace (i.e. with create-nx-workspace) and then generating an app (with ng g app) it creates an app folder inside the apps folder (so far so good) and also another app-e2e...
Sciomachy asked 9/8, 2018 at 9:11
2
Solved
I am seeking assistance / pointers / guidance in debugging / understanding a problem with a derived class which extends a library-provided service in an Angular 6 project.
I am attempting to move ...
Hadsall asked 16/5, 2018 at 8:30
2
Solved
So great, the Angular has released version 6 and the CLI provides an option to generate libraries - something that they call a "highly anticipated feature".
Now, coming from a business perspective...
Slipway asked 22/6, 2018 at 22:37
1
I am using angular CLI.
How to delete the token param name and value?
let params = new HttpParams();
params = params.append('siteId', 1);
params = params.append('orgId', 2);
params = params.app...
Cincture asked 10/9, 2018 at 13:59
1
I'd like to use the Pure.css module in an Angular library created with the CLI generate library command.
I have a workspace app in which I have ran the generate library command to create the libra...
Centner asked 8/9, 2018 at 15:1
1
Solved
Since I've upgraded my Angular app to use Angular CLI version 6.x, compiling it for production (using ng build --prod, as usual) does not produce minified js. This result in very big vendor.js size...
Drunkard asked 20/8, 2018 at 8:30
1
Solved
I just came across this command in a tutorial and I am struggling to find any information on the ngc command. Can anyone shed some light please?
ng build --prod && ngc
Pamplona asked 17/8, 2018 at 10:24
© 2022 - 2024 — McMap. All rights reserved.