easyai-mfe-demo/remote/pages/contact/properties.vue
2024-12-23 18:25:50 +07:00

35 lines
632 B
Vue

<template>
<div class="rmt2">
<h1>rmt/pages/contact/properties.vue</h1>
<div>Contact prop</div>
<div>
<button type="button" @click="handleClick">Click: {{ counter }}</button>
</div>
<div class="links">
<NuxtLink to="/">Go to home</NuxtLink>
<NuxtLink to="/about">About</NuxtLink>
</div>
</div>
</template>
<script setup>
const counter = ref(0)
const handleClick = () => {
counter.value += 2
}
definePageMeta({
name: "contact-properties"
})
</script>
<style scoped>
.rmt2 {
background: pink;
}
.links {
display: flex;
gap: 2rem;
}
</style>