feat: enable transform macros
This commit is contained in:
1 parent
af25619fea
commit
1ffcd43de8
5 files changed
+48
-14
No files matched your search
+3
-3
@@ -1,10 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
const name = ref('')
|
||||
const name = $ref('')
|
||||
|
||||
const router = useRouter()
|
||||
const go = () => {
|
||||
if (name.value)
|
||||
router.push(`/hi/${encodeURIComponent(name.value)}`)
|
||||
if (name)
|
||||
router.push(`/hi/${encodeURIComponent(name)}`)
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in new issue
Block a user