diff --git a/index.html b/index.html index e4b78ea..7fe3403 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,33 @@ - - - - - Vite + React + TS - - -
- - - + + + + + + Vite + React + TS + + + + + +
+ + + + \ No newline at end of file diff --git a/src/main.tsx b/src/main.tsx index 7cf35ea..6e516f3 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,6 +1,6 @@ import { createRoot } from 'react-dom/client'; import { App } from './pages/App.tsx'; -import './index.css'; +// import './index.css'; createRoot(document.getElementById('root')!).render(); diff --git a/vite.config.mjs b/vite.config.mjs index c975d5e..952ea46 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -12,12 +12,12 @@ const checkJsh = () => { return process.env.SHELL === '/bin/jsh'; }; const isJsh = checkJsh(); -const plugins = [react(), tailwindcss()]; +const plugins = [react(), ]; if (!isJsh) { const basicSsl = await import('@vitejs/plugin-basic-ssl'); const defaultPlugin = basicSsl.default; - plugins.push(defaultPlugin()); + plugins.push(tailwindcss(),defaultPlugin()); } let target = 'https://kevisual.xiongxiao.me';