feat: add pinia stores (#170)
This commit is contained in:
1 parent
423b506d70
commit
4a412acc9e
11 files changed
+96
-88
No files matched your search
+3
-1
@@ -1,8 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useUserStore } from '~/stores/user'
|
||||
|
||||
const name = ref('')
|
||||
const user = useUserStore()
|
||||
const name = ref(user.savedName)
|
||||
|
||||
const router = useRouter()
|
||||
const go = () => {
|
||||
|
||||
Reference in new issue
Block a user