api-viewer-element icon indicating copy to clipboard operation
api-viewer-element copied to clipboard

CDN errors

Open fehmi opened this issue 2 years ago • 3 comments

Unpkg: image image

Skypack: image image

jspm.dev image


jsdelivr The only one than can work is https://cdn.jsdelivr.net/npm/[email protected]/+esm. The downside of it there is no syntax highlighting in source panel. image

I think I can live without it but is there any chance do you know any other way to use the tool via CDN without those errors and downsides.I tried to build a one IIFE version of the tool to host by myself the JS but no luck for now. Do you know how to do it?

fehmi avatar Apr 28 '23 07:04 fehmi

We are ready to provide our Global CDN which will fiz that issue, Let's Implement it to your project?

nikolay167 avatar May 09 '23 18:05 nikolay167

Thanks for the issue. Maintenance of this project is currently on hold due to my personal matters.

Also, the issue is likely related to the CDN itself, not the api-viewer-element npm package.

web-padawan avatar May 10 '23 06:05 web-padawan

What is the CDN URL you can provide? Thanks.

fehmi avatar May 10 '23 11:05 fehmi

The issue of unpkg.com is tracked here: https://github.com/mjackson/unpkg/issues/303

web-padawan avatar Apr 05 '24 12:04 web-padawan

Tested a few CDN providers and https://jspm.dev currently works fine import 'https://jspm.dev/api-viewer-element';.

web-padawan avatar Apr 05 '24 12:04 web-padawan

I'll look into it to see if it works.

fehmi avatar Jun 12 '24 15:06 fehmi