Reinitialized commit. Update and actors overview with some filters.
This commit is contained in:
12
pages/index/+Page.vue
Normal file
12
pages/index/+Page.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<template>
|
||||
<h1>Welcome</h1>
|
||||
This page is:
|
||||
<ul>
|
||||
<li>Rendered to HTML.</li>
|
||||
<li>Interactive. <Counter /></li>
|
||||
</ul>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import Counter from './Counter.vue'
|
||||
</script>
|
||||
8
pages/index/Counter.vue
Normal file
8
pages/index/Counter.vue
Normal file
@@ -0,0 +1,8 @@
|
||||
<template>
|
||||
<button type="button" @click="state.count++">Counter {{ state.count }}</button>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive } from 'vue'
|
||||
const state = reactive({ count: 0 })
|
||||
</script>
|
||||
Reference in New Issue
Block a user