qwik icon indicating copy to clipboard operation
qwik copied to clipboard

Ability to import client-side library via package management

Open aeroxy opened this issue 3 years ago • 0 comments

Is your feature request related to a problem?

If the library I'd like to import has document operation, qwik will give me this error:

[vite] Internal server error: document is not defined

Describe the solution you'd like

For pure client-side library, we have have a "client-side" folder in src, all the files inside should be preloaded to the html document (hydration).

Describe alternatives you've considered

Use solid.js

Additional context

No response

aeroxy avatar Nov 09 '22 06:11 aeroxy