mirror of
https://github.com/rekryt/iplist.git
synced 2025-10-12 08:34:15 +03:00
feat: add light version
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
const { t } = useI18n({
|
||||
useScope: 'local',
|
||||
});
|
||||
const links = computed(() => [{ name: t('issue'), Link: 'https://github.com/rekryt/iplist/issues' }]);
|
||||
const links = computed(() => [
|
||||
{ name: t('issue'), Link: 'https://github.com/rekryt/iplist/issues' },
|
||||
{ name: t('lightVersion'), Link: '/index' },
|
||||
]);
|
||||
</script>
|
||||
<template>
|
||||
<v-footer id="core-footer">
|
||||
@@ -24,13 +27,16 @@ const links = computed(() => [{ name: t('issue'), Link: 'https://github.com/rekr
|
||||
<i18n lang="json">
|
||||
{
|
||||
"en": {
|
||||
"issue": "Issue"
|
||||
"issue": "Issue",
|
||||
"lightVersion": "Light version"
|
||||
},
|
||||
"ru": {
|
||||
"issue": "Задать вопрос"
|
||||
"issue": "Задать вопрос",
|
||||
"lightVersion": "Лёгкая версия"
|
||||
},
|
||||
"cn": {
|
||||
"issue": "提交问题"
|
||||
"issue": "提交问题",
|
||||
"lightVersion": "轻量版"
|
||||
}
|
||||
}
|
||||
</i18n>
|
||||
|
@@ -95,6 +95,9 @@ export default defineNuxtConfig({
|
||||
output: {
|
||||
publicDir: path.join(__dirname, '../public/'),
|
||||
},
|
||||
prerender: {
|
||||
ignore: ['/index'],
|
||||
}
|
||||
},
|
||||
|
||||
compatibilityDate: '2025-06-28',
|
||||
|
Reference in New Issue
Block a user