Closed jaquer closed 5 months ago
The issue is that the npm dependencies will not get injected when using this approach. I can make a minified version that has the dependencies baked in. Stay tuned!
Hey @jaquer this is now resolved. Simply add this to your browser-based app:
<script src="https://unpkg.com/remote-storage@latest/dist/remote-storage.min.js" sync></script>
Awesome. Thank you!
Is it possible to use this library in the browser? I'm too much of a JS/node newbie to figure it out.
What I've tried:
1) Using skypack.dev, which according to their site:
I get
Uncaught ReferenceError: RemoteStorage is not defined
in the browser console.2) Using https://browserify.org/ with any of these versions of
main.js
I get this error:
Like I said, not too experienced with the stack. Any help is greatly appreciated.