qwik icon indicating copy to clipboard operation
qwik copied to clipboard

[DOCS] update the docs to include a CDN based no build usage

Open ahmed-adly-khalil opened this issue 2 years ago • 6 comments

It would be great if there is a CDN version of qwik and somewhere around the overview in the docs are updated to show how it can be used: https://qwik.builder.io/docs/components/overview

ahmed-adly-khalil avatar Aug 02 '22 18:08 ahmed-adly-khalil

What is "CDN version of qwik" in your mind?

mhevery avatar Aug 02 '22 18:08 mhevery

Do you mean you would like to see Static Side Generation (SSG)?

mhevery avatar Aug 02 '22 18:08 mhevery

I think he means a iife mode, where qwik is imported as a script, and at least a version of client bootstrapping works. am i wrong?

manucorporat avatar Aug 02 '22 21:08 manucorporat

I think by CDN he means Static Site Generation (SSG) and Incremental Static Regeneration (ISR). (Terms NextJS seem to be moving away from). In general it’s about: Caching.

Would be very helpful to read a page about Caching in Qwik. (Couldn’t find it in the docs. A site wide search feature on qwik.builder.io would have been very helpful also).

redbar0n avatar Oct 31 '22 13:10 redbar0n

Hi @ahmed-adly-khalil After all the above "guessing" - can you help us with a quick reply of what you would expect? 🙏 thanks a lot

zanettin avatar Feb 09 '23 22:02 zanettin

I meant something like this https://unpkg.com/preact?module

ahmed-adly-khalil avatar Feb 10 '23 03:02 ahmed-adly-khalil

@ahmed-adly-khalil

I don't know if you found a solution to this, but if not: are you talking about this?: https://unpkg.com/@builder.io/[email protected]/core.mjs ?

And about "?module" ⚠️: image

noeliadv avatar Jun 29 '23 16:06 noeliadv

@ahmed-adly-khalil does @noeliadv 's answer help you?

shairez avatar Aug 14 '23 15:08 shairez

This issue is stale, so I'm closing it for now. @ahmed-adly-khalil feel free to re-open it if it's still an issue for you. Thanks.

gioboa avatar Dec 29 '23 10:12 gioboa