feat: initialize Tauri application with Preact framework
- 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`.
This commit is contained in:
1 parent
08e154894a
commit
a2a512d41d
9 files changed
+146
-1
No files matched your search
@@ -1,10 +1,15 @@
|
||||
{
|
||||
"$schema": "../gen/schemas/desktop-schema.json",
|
||||
<<<<<<< HEAD
|
||||
"identifier": "main-capability",
|
||||
=======
|
||||
"identifier": "default",
|
||||
>>>>>>> ce33464 (feat: initialize Tauri application with Preact framework)
|
||||
"description": "Capability for the main window",
|
||||
"windows": ["main"],
|
||||
"permissions": [
|
||||
"core:default",
|
||||
<<<<<<< HEAD
|
||||
"opener:default",
|
||||
{
|
||||
"identifier": "shell:allow-execute",
|
||||
@@ -15,5 +20,8 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
=======
|
||||
"opener:default"
|
||||
>>>>>>> ce33464 (feat: initialize Tauri application with Preact framework)
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user