This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
Query on upgrade and packages of clarity 5 from clarity 4 #5600
Unanswered
kumar-tadepalli
asked this question in
General
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the clarification.
1. Is there a way to import all the core components at application level in angular?
2. How could I enforce the same for cds components? I don't see any style sheet for light in the directory node_modules@cds\core\styles? It would be helpful if you edit the above snippet and show the file paths. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As part of assessment for my project upgrade from clarity 4 to clarity 5. I created dummy angular 11 project and added clarity 4 as base one.
After that I followed the command ng update @clr/angular as mentioned in https://clarity.design/get-started/updating/angular/
Im seeing following warning:
But I could not see cds packages being installed. So I had installed them explicitly using:
npm install @cds/core@latest @cds/angular@latest
This is the final package.json looks
"dependencies": {
"@angular/animations": "~11.1.2",
"@angular/common": "~11.1.2",
"@angular/compiler": "~11.1.2",
"@angular/core": "~11.1.2",
"@angular/forms": "~11.1.2",
"@angular/platform-browser": "~11.1.2",
"@angular/platform-browser-dynamic": "~11.1.2",
"@angular/router": "~11.1.2",
"@cds/angular": "5.0.1",
"@cds/core": "5.0.1",
"@clr/angular": "5.0.1",
"@clr/icons": "5.0.1",
"@clr/ui": "5.0.1",
"@ngneat/transloco": "2.20.0",
"@webcomponents/webcomponentsjs": "^2.0.0",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.3"
},
Queries:
Beta Was this translation helpful? Give feedback.
All reactions