Skip to content

How to add a standalone js library into your application like the json-refs.js #14228

Answered by msujew
amiths89 asked this question in General
Discussion options

You must be logged in to vote

Hey @amiths89,

you should be able to import the browser build of the library using something like:

import { ... } from 'json-refs/dist/json-refs';

Note that the library is not designed well for use in the browser environment, and is missing the .d.ts TypeScript declaration files for that specific import.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@amiths89
Comment options

Answer selected by amiths89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants