fix. 개발 도구 적용. (typescript, prettier, es-lint)
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
const props = defineProps({
|
||||
to: {
|
||||
type: String,
|
||||
default: null,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
})
|
||||
|
||||
const localePath = useLocalePath();
|
||||
const localePath = useLocalePath()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NuxtLink :to="localePath(props.to)"><slot></slot></NuxtLink>
|
||||
<NuxtLink :to="localePath(props.to)"><slot /></NuxtLink>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user