This commit is contained in:
2026-10-17 18:14:31 +07:00
parent 1c42ae2a75
commit 701bca234e
31 changed files with 9774 additions and 21 deletions
+17
View File
@@ -0,0 +1,17 @@
<script setup lang="ts">
import { NConfigProvider, NMessageProvider, darkTheme } from 'naive-ui'
import ControlPage from './components/ControlPage.vue'
import OutputPage from './components/OutputPage.vue'
const hasBridge = !!window.screenBridge
const isOutput = new URLSearchParams(location.search).has('output')
</script>
<template>
<n-config-provider :theme="darkTheme">
<n-message-provider>
<OutputPage v-if="isOutput && hasBridge" />
<ControlPage v-else />
</n-message-provider>
</n-config-provider>
</template>