generoi / genero-design-system

https://gds.generogrowth.com/
MIT License
4 stars 0 forks source link

Figure out and document how to hook up components in WP #12

Closed oxyc closed 4 years ago

oxyc commented 4 years ago
silentnoodlemaster commented 4 years ago

adapted from the stencil documentation and tested in sage:

import { applyPolyfills, defineCustomElements } from 'genero-design-system/loader';

applyPolyfills().then(() => {
  defineCustomElements();
});
oxyc commented 4 years ago

Could you add this together with react usage to the readme?