Any way to create a speckle viewer use cdnjs?

Hi team,

Do we have any way to use speckle by cdnsj ?

Example :

https://cdnjs.cloudflare.com/ajax/libs/speckle/1.0.0/js/speckle.min.js

I just want write fast native javascript to load a viewer by url to website and intergrate with that.

Any help appreciate !

Speckle has only uploaded packages to npm at this time.

1 Like

I don’t think we’ve ever tried this but have you tried https://www.unpkg.com/ ?

2 Likes

I want thank you for team supported, may be I will try with solution from @AlanRynne

1 Like

Did you give this a try @chuongmep ?

Unfortunately I’m still figuring it out @jonathon

My start point from here but I’m still don’t know how to intergrate with format cjs:

https://unpkg.com/@speckle/viewer@2.17.3/dist/index.cjs