3
Jsonstore.io in HTML
ryanhcode (84)

I have used jsonstore.io before, and am now trying to integrate it into a web app. I can't use require, because I am running it inside of a script tag in HTML. How would I do this?

You are viewing a single comment. View All
Answered by JustARatherRidi (185) [earned 5 cycles]
View Answer
1
JustARatherRidi (185)

@ryanhallihan oh okay, it seemed like you had to do it from within a <script> tag from your question. If you're able to use node to host your website, then using an npm package is probably the best way to go.

Cheers!