We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a376e71 commit 0b7f20aCopy full SHA for 0b7f20a
src/index.jsx
@@ -1,3 +1,4 @@
1
+import React from 'react';
2
import ReactDOM from 'react-dom';
3
import './index.css';
4
import App from './App';
vite.config.js
@@ -3,9 +3,5 @@ import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
5
export default defineConfig({
6
- plugins: [
7
- react({
8
- jsxRuntime: 'classic',
9
- }),
10
- ],
+ plugins: [react()],
11
});
0 commit comments