angular-cli-v6 Questions

2

I am using workspaces concept of angular latest version(>6). The CLI can generate a project that is a library with a command like this: ng generate library api tsconfig.json of default app is ...
Algonquin asked 6/8, 2018 at 7:24

1

I have a simple Angular CLI (6.0.7) application which has some assets in the src/assets/ folder. Some of them are referenced in CSS files of the Angular components. Example: /* src/app/app.compone...
Ba asked 10/7, 2018 at 7:9

1

Solved

There are two sub-questions: Should I put secret environment variables in the environment.ts file? The process variable shim is gone. If I use it, tsc will throw an error: Cannot find name 'proce...
Lasagne asked 24/7, 2018 at 3:7

1

With angular6, the global variable process is undefined. I dockerlize my angular app using docker-compose.yml and Dockerfile I create .env file store my secret variables used by docker-compose.ym...

1

Solved

The Angular-CLI Documentation does not seem contain a full reference to the schema of the angular.json, is there any place to find a more complete list of available options?
Litho asked 10/7, 2018 at 12:13

1

Solved

In angular CLI when creating module we can add --routing-scope as a parameter. ng g m dashboard --routing-scope something-here --routing when using this command I get error: Schematic input doe...
Copycat asked 2/7, 2018 at 13:52

1

Solved

I have an Angular6 app that I am trying to create a library for. I was able to generate a library project but when I generate the component for the library, Angular CLI is creating it with .css fil...
Unfathomable asked 12/6, 2018 at 13:49

3

Solved

When I want to execute my tests, I used to have the option --single-run activated, but after upgrading to Angular 6 it is not recognized anymore. > ng test --source-map=false --single-run --no-...
Spoiler asked 12/6, 2018 at 12:11

1

Is it possible to combine common styles along with configuration specific styles? Or to be specific, build app with multiple configurations? I have an app which uses different material themes...
Makalu asked 4/6, 2018 at 14:50

1

Solved

I am not sure what I am doing wrong: I am following the tutorial here, but I keep getting the following error: ENOENT: no such file or directory, open 'C:\Users\andrewkp\Documents\VSCode\Proje...
Danialah asked 16/5, 2018 at 9:21

1

Solved

Versions Angular CLI: 6.0.0 Node: 8.11.1 OS: win32 x64 Angular: 6.0.0 ... animations, cli, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-bro...
Mikiso asked 9/5, 2018 at 6:14

1

Solved

I am just picking up Angular 6 and CLI and have created a project as below ng new my-demo cd my-demo ng g library foo --prefix=my No in my library I want to add ngx-bootstrap as the component wi...
Adele asked 8/5, 2018 at 11:38

1

Solved

Upgraded to Angular 6. Now I want to turn progress display off globally for ng build. However, the documentation about the ng config command which apparently replaced ng set/get seems to be missing...
Nureyev asked 5/5, 2018 at 8:41

© 2022 - 2024 — McMap. All rights reserved.