Skip to content

Commit

Permalink
Document web components experimental attribute (SAP#2618)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandra-simeonova authored Mar 15, 2022
1 parent cdfb945 commit 53ee98a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/web-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ If you want to declare a menu item to be open as Web Component, you need to spec
Luigi.setConfig({
navigation: {
// To enable CORS Web Component Loading: you need to add external domains where the Web Components are hosted;
// in this example, we sepcify that we can load Web Components from everyhere
// in this example, we sepcify that we can load Web Components from everywhere
validWebcomponentUrls:['.*?'],
nodes: [
...
Expand All @@ -51,6 +51,11 @@ Luigi.setConfig({
...
]
}
settings: {
...
experimental: {
webcomponents:true
}
.......
})
```
Expand Down

0 comments on commit 53ee98a

Please sign in to comment.