Initial commit

This commit is contained in:
kevisual
2025-04-03 10:12:03 +08:00
commit 7fb0666612
22 changed files with 2218 additions and 0 deletions

0
src/app.ts Normal file
View File

1
src/index.css Normal file
View File

@@ -0,0 +1 @@
@import "tailwindcss";

6
src/main.tsx Normal file
View File

@@ -0,0 +1,6 @@
import { createRoot } from 'react-dom/client';
import { App } from './pages/App.tsx';
// import './index.css';
createRoot(document.getElementById('root')!).render(<App />);

1
src/modules/basename.ts Normal file
View File

@@ -0,0 +1 @@
export const basename = DEV_SERVER ? '/' : BASE_NAME;

3
src/modules/query.ts Normal file
View File

@@ -0,0 +1,3 @@
import { QueryClient } from '@kevisual/query';
export const query = new QueryClient();

5
src/pages/App.tsx Normal file
View File

@@ -0,0 +1,5 @@
import { basename } from '../modules/basename';
console.log('basename', basename);
export const App = () => {
return <div className='bg-slate-200 w-full h-full border'>123</div>;
};

1
src/routes/index.ts Normal file
View File

@@ -0,0 +1 @@
// import {}

6
src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
/// <reference types="vite/client" />
type SimpleObject = {
[key: string | number]: any;
};
declare let BASE_NAME: string;