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 36b5057 commit 6964a1bCopy full SHA for 6964a1b
.postcssrc
@@ -1,7 +1,7 @@
1
{
2
"plugins": {
3
- "postcss-import": true,
4
- "tailwindcss": true,
5
- "postcss-nested": true
+ "postcss-import": {},
+ "tailwindcss/nesting": {},
+ "tailwindcss": {}
6
}
7
src/main.ts
@@ -1,5 +1,8 @@
-import * as React from "react";
-import * as ReactDOM from "react-dom";
+import React from "react";
+import ReactDOM from "react-dom/client";
+
import { App } from "./views/App";
-ReactDOM.render(React.createElement(App), document.getElementById("app"));
+ReactDOM.createRoot(document.getElementById("app")!).render(
+ React.createElement(App)
8
+);
0 commit comments