feat: tailwind 2 + script setup!

This commit is contained in:
Anthony Fu committed 2020-11-28 14:14:36 +08:00
1 parent f179e3e40b
commit 14b6a74360
21 files changed
+526 -455

No files matched your search

+2 -3
View File
@@ -39,14 +39,13 @@ import { ref } from 'vue'
import { useRouter } from 'vue-router'
import { useI18n } from 'vue-i18n'
export const name = ref('')
const name = ref('')
const router = useRouter()
export const go = () => {
const go = () => {
if (name.value)
router.push(`/hi/${name.value}`)
}
const { t } = useI18n()
export { t }
</script>