Skip to content

Commit

Permalink
Merge pull request #8 from Infineon/feature/new-readme-for-angular
Browse files Browse the repository at this point in the history
new readme for angular
  • Loading branch information
verena-ifx authored Jan 12, 2023
2 parents cd10fa8 + b450ff5 commit 9f54b4f
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,23 @@ For Angular: <b>main.ts</b>
```bash
import { applyPolyfills, defineCustomElements } from "@infineon/infineon-design-system-stencil/loader";

const app = createApp(App);
//...
app.mount('#app')
applyPolyfills().then(() => { defineCustomElements(window)});
```
##### Additional steps for Angular
applyPolyfills().then(() => { defineCustomElements(window)})
;
Inside <b>app.modules.ts</b> file:
```bash
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

@NgModule({
...
schemas: [
CUSTOM_ELEMENTS_SCHEMA
],
...
})
```
#### Installation of SASS
Expand Down

0 comments on commit 9f54b4f

Please sign in to comment.