14 lines
251 B
Vue
14 lines
251 B
Vue
<template>
|
|
<div class="box">hell123o</div>
|
|
</template>
|
|
<script lang="ts" setup>
|
|
import { useStore } from '@/store/index'
|
|
|
|
const store = useStore()
|
|
function changeName(): void {
|
|
store.name = 'new Name'
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
</style>
|