reverted to base tauri install

This commit is contained in:
Saud Fatayerji 2023-10-29 11:14:07 +02:00
parent e25c3a4110
commit cac8f856fa
2 changed files with 6 additions and 4 deletions

View File

@ -10,16 +10,16 @@
"tauri": "tauri"
},
"dependencies": {
"@tauri-apps/api": "^2.0.0-alpha.9",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"@tauri-apps/api": "^1.5.0"
},
"devDependencies": {
"@tauri-apps/cli": "^2.0.0-alpha.16",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.3",
"typescript": "^5.0.2",
"vite": "^4.4.4"
"vite": "^4.4.4",
"@tauri-apps/cli": "^1.5.0"
}
}

View File

@ -3,6 +3,8 @@ import reactLogo from "./assets/react.svg";
import { invoke } from "@tauri-apps/api/tauri";
import "./App.css";
console.log(invoke)
function App() {
const [greetMsg, setGreetMsg] = useState("");
const [name, setName] = useState("");