Add Swisscom SDX integration and update project configuration

- Updated angular.json to include new asset paths and styles for Swisscom SDX.
- Modified package.json and package-lock.json to add @swisscom/sdx dependency.
- Enhanced app.ts to include CUSTOM_ELEMENTS_SCHEMA for custom elements.
- Updated main.ts to define custom elements from Swisscom SDX.
This commit is contained in:
Elyes
2025-11-20 11:13:44 +01:00
parent b102f61c1a
commit e7d6551796
5 changed files with 110 additions and 10 deletions

View File

@@ -2,7 +2,8 @@
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"packageManager": "npm"
"packageManager": "npm",
"analytics": false
},
"newProjectRoot": "projects",
"projects": {
@@ -26,12 +27,11 @@
"assets": [
{
"glob": "**/*",
"input": "public"
"input": "node_modules/@swisscom/sdx/dist/js/webcomponents/webcomponents/assets",
"output": "assets"
}
],
"styles": [
"src/styles.scss"
]
"styles": ["node_modules/@swisscom/sdx/dist/css/webcomponents.css"]
},
"configurations": {
"production": {