Making genealogy development easier
Trepo Web Components are built using v1 Custom Elements and v1 Shadow Dom. Polyfills are available here.
Note: Components target evergreen browsers and are NOT transpiled to es2015 at this time.
npm install tpo- Include
tpo/tpo.json your page<head> ... <script src="/node_modules/tpo/tpo.js" /> ... </head>
- Use tpo components on your page
<body> ... <tpo-person node="1234" repo="my/repo"></tpo-person> ... </body>
$ npm install tpo-[whatever]
$ webpack --module-bind 'html=raw' node_modules/tpo-[whatever]/component.js bundle.js