Add router and basic home view
This commit is contained in:
parent
2342a99405
commit
4d718f9a12
4 changed files with 25 additions and 4 deletions
32
ts/rmo/App.vue
Normal file
32
ts/rmo/App.vue
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
<RouterView />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, computed } from "vue";
|
||||
import { useHead } from "@vueuse/head";
|
||||
import { router } from "@/rmo/router";
|
||||
|
||||
const count = ref<number>(0);
|
||||
const message = ref<string>("hey");
|
||||
|
||||
const increment = (): void => {
|
||||
count.value++;
|
||||
};
|
||||
|
||||
// Reactive head management
|
||||
/*
|
||||
useHead({
|
||||
title: computed(() => `Count: ${count.value} - My Vue App`),
|
||||
link: [
|
||||
{
|
||||
rel: "icon",
|
||||
type: "image/x-icon",
|
||||
href: "/favicon.ico",
|
||||
},
|
||||
],
|
||||
});
|
||||
*/
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue