3 ms·
It's a browser spec, so yeah browser-only. Electron is browser-based (Chrome), so web-components can be used there. Check out https://github.com/Polymer/pwa-st
by ernsheong 8y ago
It's a browser spec, so yeah browser-only. Electron is browser-based (Chrome), so web-components can be used there.
Check out https://github.com/Polymer/pwa-starter-kit/wiki https://github.com/Polymer/pwa-starter-kit/wiki for concrete examples using LitElement (https://github.com/Polymer/lit-element https://github.com/Polymer/lit-element)