We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
link to sandbox
I tried using VITE for my react project, used a button but not working. and this error shows up in my console.
here is the code
import React, { useState } from 'react' import logo from './logo.svg' import './App.css' import { Button } from "@blueprintjs/core"; function App() { const [count, setCount] = useState(0) return ( <div className="App"> <Button intent="success" text="button content" onClick={() => setCount((count) => count +1)} /> Hello World! {count} <button onClick={() => setCount((count) => count +1)} > Button </button> </div> ) } export default App
The button component should run.
The text was updated successfully, but these errors were encountered:
I'm not familiar with Vite. This looks like a duplicate of #3739. Until that issue is fixed, maybe you can define process.env through Vite config?
process.env
Sorry, something went wrong.
fixed by #4934
No branches or pull requests
Environment
Code Sandbox
link to sandbox
Steps to reproduce
Actual behavior
I tried using VITE for my react project, used a button but not working. and this error shows up in my console.
here is the code
Expected behavior
The button component should run.
The text was updated successfully, but these errors were encountered: