-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vike-solid] ReferenceError: React is not defined #143
Comments
Same here: up for digging into this? |
@rtritto You forgot to add |
@magne4000 was intentional (see Description). |
@rtritto Not sure how the error message can be improved. Contribution welcome to dig into this. |
Shouldn't this issue remain open? |
@rtritto I'm not considering this is an actual issue. If the message error can be improved, it probably would be on Vike's side, but I'm not sure this is possible currently. |
Description
In
vite.config.ts
, use onlyvike
plugin (vike/plugin
) and not one of UI framework (vike-solid
orvike-vue
) plugin.Expected
A correct error instead of
ReferenceError: React is not defined
Repro (repo: template-vike-solid-daisyui-hono ~ branch: react-not-defined)
git clone https://github.com/templates-ecosystem/template-vike-solid-daisyui-hono.git
git checkout react-not-defined
cd template-vike-solid-daisyui-hono
yarn
yarn dev
http://localhost:3000
The text was updated successfully, but these errors were encountered: