ReviewOS

also looking at this

stacks/vite-plugin-tauri

feat: call custom window on tray icon event

#13
Open iamzjohn wants to merge feat/custom_window into main
43 files +5245 -1
examples/tray-with-custom-tray-menu-window/src/components/HelloWorld.vueadded+42-0
Changes to examples/tray-with-custom-tray-menu-window/src/components/HelloWorld.vue
@@ -0,0 +1,42 @@
1<script setup>
2import { ref } from 'vue'
3
4defineProps({
5 msg: String,
6})
7
8const count = ref(0)
9</script>
10
11<template>
12 <h1>{{ msg }}</h1>
13
14 <div class="card">
15 <button type="button" @click="count++">
16 count is {{ count }}
17 </button>
18 <p>
19 Edit
20 <code>components/HelloWorld.vue</code> to test HMR
21 </p>
22 </div>
23
24 <p>
25 Check out
26 <a href="https://vuejs.org/guide/quick-start.html#local" target="_blank">create-vue</a>, the official Vue + Vite starter
27 </p>
28 <p>
29 Install
30 <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>
31 in your IDE for a better DX
32 </p>
33 <p class="read-the-docs">
34 Click on the Vite and Vue logos to learn more
35 </p>
36</template>
37
38<style scoped>
39.read-the-docs {
40 color: #888;
41}
42</style>