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:
10
angular.json
10
angular.json
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user