mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-04-11 23:30:22 +08:00
20 lines
329 B
Vue
20 lines
329 B
Vue
<template>
|
|
<h1>{{ msg }}</h1>
|
|
<button @click="count++">count is: {{ count }}</button>
|
|
<p>Edit <code>components/HelloWorld.vue</code> to test hot module replacement.</p>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'HelloWorld',
|
|
props: {
|
|
msg: String
|
|
},
|
|
data() {
|
|
return {
|
|
count: 0
|
|
}
|
|
}
|
|
}
|
|
</script>
|