Skip to content

Commit db62be2

Browse files
Add lang attribute to HTML element
1 parent 0d0870e commit db62be2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: app.vue

+8
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,12 @@
2929

3030
<script setup lang="ts">
3131
const websiteUrl = process.env.VERCEL_URL ?? process.env.URL ?? 'techmino-hub.vercel.app';
32+
33+
const i18n = useI18n();
34+
35+
useHead({
36+
htmlAttrs: {
37+
lang: i18n.locale,
38+
},
39+
});
3240
</script>

0 commit comments

Comments
 (0)