Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.01 KB

File metadata and controls

36 lines (28 loc) · 1.01 KB

@legumeinfo/web-components-graphql

A TypeScript library that provides code for usng LIS Web Components with the LIS GraphQL Server.

Installation

npm i @legumeinfo/web-components-graphql

Usage

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:

...

Development

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