A TypeScript library that provides code for usng LIS Web Components with the LIS GraphQL Server.
npm i @legumeinfo/web-components-graphql
To use the library, import ... When using the library in a webpage, import from the bundled script:
<script type="module">
import { ... } from 'node_modules/@legumeinfo/web-components-graphql/dist/web-components-graphql.min.js';
</script>
When using the library in a TypeScript/JavaScript project, import from the module:
import { ... } from '@legumeinfo/web-components-graphql';
Use the library as follows:
...
For convenience in development, the @legumeinfo/web-components library is included as a Git submodule. Use the following command to include this submodule when cloning this repo:
git clone --recurse-submodules https://github.com/legumeinfo/web-components-graphql.git