- Added main application logic in `src-tauri/src/lib.rs` and `src-tauri/src/main.rs`. - Configured Tauri settings in `tauri.conf.json`. - Created basic styling in `src/App.css`. - Implemented main application component in `src/App.tsx` with greeting functionality. - Included Preact logo in `src/assets/preact.svg`. - Set up rendering in `src/main.tsx`. - Defined TypeScript environment in `vite-env.d.ts` and configured TypeScript settings in `tsconfig.json` and `tsconfig.node.json`. - Configured Vite for Tauri development in `vite.config.ts`.
24 lines
474 B
JSON
24 lines
474 B
JSON
{
|
|
"name": "localaiapp",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"preact": "^10.25.1",
|
|
"@tauri-apps/api": "^2",
|
|
"@tauri-apps/plugin-opener": "^2"
|
|
},
|
|
"devDependencies": {
|
|
"@preact/preset-vite": "^2.9.3",
|
|
"typescript": "~5.6.2",
|
|
"vite": "^6.0.3",
|
|
"@tauri-apps/cli": "^2"
|
|
}
|
|
}
|