-
Notifications
You must be signed in to change notification settings - Fork 11
"Importing Styles and Modules" Section in Guide not up to date (?) #98
Description
Category: enhancement
Severity: Medium
Description of issue / expected enhacement /Comments
The guide "Client GUI Angular Create New devon4ng Application" mentions in Section "Importing Styles and Modules": "Now we have to add these styles in angular/CLI config. Go to .angular-cli.json to "styles" array and add theme and Covalent platform.css to make it look like this:"
- there is apparently no file ".angular-cli.json". There is a file "angular.json" with two entrys that look like
"styles": [
"src/styles.scss"
]
However, making them look like
"styles": [
"src/styles.css",
"src/theme.scss",
"node_modules/@covalent/core/common/platform.css"
],
leads to an error message:
ERROR in ./src/theme.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/theme.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
undefined
^
Wrong number of arguments (3 for 1) for `mat-elevation'
in C:\Mirror\JumpTheQueue\node_modules@angular\material_theming.scss (line 447, column 12)
Your environment - windows/Linux, Devonfw version , component
Angular CLI: 7.2.1
Node: 10.15.0
OS: win32 x64
Angular: 7.2.0
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
@angular-devkit/architect 0.12.1
@angular-devkit/build-angular 0.12.1
@angular-devkit/build-optimizer 0.12.1
@angular-devkit/build-webpack 0.12.1
@angular-devkit/core 7.2.1
@angular-devkit/schematics 7.2.1
@angular/cdk 7.2.1
@angular/cli 7.2.1
@angular/material 7.2.1
@ngtools/webpack 7.2.1
@schematics/angular 7.2.1
@schematics/update 0.12.1
rxjs 6.3.3
typescript 3.2.2
webpack 4.23.1