Skip to content

Using headless-ui with Fresh #606

Answered by lucacasonato
ClaudiuCeia asked this question in Q&A
Discussion options

You must be logged in to vote

Importing https://esm.sh/@headlessui/[email protected]?alias=react:preact/compat,react-dom:preact/compat,@types/react:preact/compat&[email protected] works for me.

Ideally https://esm.sh/@headlessui/[email protected]?alias=react:preact/compat,react-dom:preact/compat,@types/react:preact/compat&external=preact would work, but that seems to be running into some esm.sh bug. cc @ije: the external=preact is not applying to most imports it seems.

Replies: 6 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ClaudiuCeia
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@OldManFroggy
Comment options

@neezer
Comment options

@ije
Comment options

@alisabzevari
Comment options

@ije
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants
Converted from issue

This discussion was converted from issue #585 on August 09, 2022 19:58.