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/App.vueadded+32-0
Changes to examples/tray-with-custom-tray-menu-window/src/App.vue
@@ -0,0 +1,32 @@
1<script setup>
2import HelloWorld from './components/HelloWorld.vue'
3</script>
4
5<template>
6 <div>
7 <a href="https://vitejs.dev" target="_blank">
8 <img src="/vite.svg" class="logo" alt="Vite logo">
9 </a>
10 <a href="https://vuejs.org/" target="_blank">
11 <img src="./assets/vue.svg" class="logo vue" alt="Vue logo">
12 </a>
13 </div>
14 <HelloWorld msg="Vite + Vue" />
15</template>
16
17<style scoped>
18.logo {
19 height: 6em;
20 padding: 1.5em;
21 will-change: filter;
22 transition: filter 300ms;
23}
24
25.logo:hover {
26 filter: drop-shadow(0 0 2em #646cffaa);
27}
28
29.logo.vue:hover {
30 filter: drop-shadow(0 0 2em #42b883aa);
31}
32</style>