chore(i18n): setup i18n plugin config

This commit is contained in:
Corentin Thomasset 2023-06-18 14:11:38 +02:00 committed by Corentin THOMASSET
parent a6bbeaebd8
commit ebfb872fae
11 changed files with 256 additions and 5 deletions

View file

@ -9,6 +9,7 @@ import { config } from '@/config';
const toolStore = useToolStore();
useHead({ title: 'IT Tools - Handy online tools for developers' });
const { t } = useI18n();
</script>
<template>
@ -48,7 +49,7 @@ useHead({ title: 'IT Tools - Handy online tools for developers' });
</transition>
<div v-if="toolStore.newTools.length > 0">
<n-h3>Newest tools</n-h3>
<n-h3>{{ t('home.categories.newestTools') }}</n-h3>
<n-grid x-gap="12" y-gap="12" cols="1 400:2 800:3 1200:4 2000:8">
<n-gi v-for="tool in toolStore.newTools" :key="tool.name">
<ToolCard :tool="tool" />