Next steps

This commit is contained in:
2026-02-21 13:47:12 +01:00
parent 939983a717
commit c1810aa6b7
22 changed files with 6864 additions and 355 deletions

20
src/components/Tauri.vue Normal file
View File

@@ -0,0 +1,20 @@
<script setup lang="ts">
import { ref } from "vue";
import { invoke } from "@tauri-apps/api/core";
const greetMsg = ref("");
const name = ref("");
async function greet() {
// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
greetMsg.value = await invoke("greet", { name: name.value });
}
</script>
<template>
<form class="row" @submit.prevent="greet">
<input id="greet-input" v-model="name" placeholder="Enter a name..." />
<button class="btn" type="submit">Greet</button>
</form>
<p>{{ greetMsg }}</p>
</template>