diff --git a/bun.lockb b/bun.lockb index a033c05..44a648b 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/packages/webui/package.json b/packages/webui/package.json index 52cb517..db943fa 100644 --- a/packages/webui/package.json +++ b/packages/webui/package.json @@ -22,9 +22,12 @@ "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", "@vitejs/plugin-react": "^4.3.1", + "autoprefixer": "^10.4.19", "eslint": "^8.57.0", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-refresh": "^0.4.7", + "postcss": "^8.4.39", + "tailwindcss": "^3.4.4", "vite": "^5.3.1" } } diff --git a/packages/webui/postcss.config.js b/packages/webui/postcss.config.js new file mode 100644 index 0000000..72588e6 --- /dev/null +++ b/packages/webui/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + } +} diff --git a/packages/webui/src/App.tsx b/packages/webui/src/App.tsx index f8540ab..ad2ea06 100644 --- a/packages/webui/src/App.tsx +++ b/packages/webui/src/App.tsx @@ -1,23 +1,10 @@ -import { useState } from "react" +import "./index.css" +import { TRPCClientProvider } from "./trpc/TRPCClientProvider" export function App() { - const [count, setCount] = useState(0) - - return ( - <> -
- Edit src/App.tsx and save to test HMR
-
- Click on the Vite and React logos to learn more -
- > - ) + return ( +