feat: i18n lazy load

This commit is contained in:
Anthony Fu 2022-11-30 08:22:35 +08:00
parent ccffe9daa8
commit 07209a7d29
6 changed files with 25 additions and 17 deletions

View file

@ -6,7 +6,7 @@ const { error } = defineProps<{
error: Partial<NuxtError>
}>()
usePageHeader()
setupPageHeader()
// add more custom status codes messages here
const errorCodes: Record<number, string> = {