From 53ee98a09d8026e08e7bff9c108be4675508c7a4 Mon Sep 17 00:00:00 2001 From: Aleksandra Simeonova Date: Tue, 15 Mar 2022 16:21:21 +0100 Subject: [PATCH] Document web components experimental attribute (#2618) --- docs/web-component.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/web-component.md b/docs/web-component.md index 25e19d8aec..175a29b732 100644 --- a/docs/web-component.md +++ b/docs/web-component.md @@ -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: [ ... @@ -51,6 +51,11 @@ Luigi.setConfig({ ... ] } + settings: { + ... + experimental: { + webcomponents:true + } ....... }) ```