Closed 3cp closed 3 years ago
@bigopon @EisenbergEffect see the above issue for plugin's css style. Maybe we should recommend plugin authors to always use ShadowDOM mode for plugin? We certainly need to use shadow-dom as the default option for plugin project.
Let's go with shadow DOM as default recommendation, with some heading that reminds folks this could cause friction, and let folks choose how to distribute/enforce the usage of their plugins.
This is ready for early testing. Use:
Then either choose a default plugin or customise a plugin. The result project has some explanation in readme file on how to consume the plugin.
Known issue: If plugin project is compiled using non-shadow-dom setup, the style applied to the custom element inside the plugin would NOT work properly in app built with shadow-dom.
For example, in app's
my-app.html
template, you try to use an custom-element provided by a plugin