sw-appcache-behavior icon indicating copy to clipboard operation
sw-appcache-behavior copied to clipboard

Is there any demo to see this in action?

Open eldonzo opened this issue 5 years ago • 1 comments

Is there any demo page where I can see how it works? I tried to follow the instructions on the readme file, but first there is no index.mjs file for the window client library, just index.umd.js. Then, if I try to import from that file as described in the readme file, I get "The requested module '../appcache-polyfill-window/build/index.umd.js' does not provide an export named 'init'"

eldonzo avatar Nov 11 '19 13:11 eldonzo

The best demo is the test cases under https://github.com/GoogleChromeLabs/sw-appcache-behavior/tree/master/tests/static

I'm not sure why you're not seeing the index.mjs file; it does appear to be published as part of the v0.1.0 release, in the correct directory:

https://unpkg.com/[email protected]/build/index.mjs

jeffposnick avatar Mar 12 '20 13:03 jeffposnick