Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 529 Bytes

File metadata and controls

14 lines (10 loc) · 529 Bytes

Vite 3 - Headless UI (React is not defined)

Steps to Reproduce

  1. If you have asdf, then run asdf install
  2. yarn install
  3. yarn build
  4. yarn serve to show the preview

The page should be blank (while yarn dev works fine) and the console should show the error React is not defined

An issue was already opened in the repository of headlessUI. But with Vite < 3, there was no issue, so this is no actual bug with HeadlessUI.