nidus-sync/ts/rmo/App.vue

33 lines
534 B
Vue
Raw Normal View History

2026-04-03 15:24:19 +00:00
<template>
<div id="app">
2026-04-03 15:43:44 +00:00
<RouterView />
2026-04-03 15:24:19 +00:00
</div>
</template>
<script setup lang="ts">
import { ref, computed } from "vue";
import { useHead } from "@vueuse/head";
2026-04-03 15:43:44 +00:00
import { router } from "@/rmo/router";
const count = ref<number>(0);
const message = ref<string>("hey");
const increment = (): void => {
count.value++;
};
// Reactive head management
2026-04-03 15:24:19 +00:00
/*
useHead({
title: computed(() => `Count: ${count.value} - My Vue App`),
link: [
{
rel: "icon",
type: "image/x-icon",
href: "/favicon.ico",
},
],
});
2026-04-03 15:24:19 +00:00
*/
</script>