chore: update
This commit is contained in:
parent
f281990f38
commit
dbd1a9fe43
@ -8,5 +8,6 @@
|
|||||||
"dynamic-route": "Demo of dynamic route",
|
"dynamic-route": "Demo of dynamic route",
|
||||||
"hi": "Hi, {name}!",
|
"hi": "Hi, {name}!",
|
||||||
"whats-your-name": "What's your name?"
|
"whats-your-name": "What's your name?"
|
||||||
}
|
},
|
||||||
|
"not-found": "Not found"
|
||||||
}
|
}
|
||||||
|
@ -8,5 +8,6 @@
|
|||||||
"dynamic-route": "Démo de dynamic route",
|
"dynamic-route": "Démo de dynamic route",
|
||||||
"hi": "Salut, {name}!",
|
"hi": "Salut, {name}!",
|
||||||
"whats-your-name": "Comment tu t'appelles?"
|
"whats-your-name": "Comment tu t'appelles?"
|
||||||
}
|
},
|
||||||
|
"not-found": "Pas trouvé"
|
||||||
}
|
}
|
||||||
|
@ -8,5 +8,6 @@
|
|||||||
"dynamic-route": "动态路由演示",
|
"dynamic-route": "动态路由演示",
|
||||||
"hi": "你好,{name}!",
|
"hi": "你好,{name}!",
|
||||||
"whats-your-name": "输入你的名字"
|
"whats-your-name": "输入你的名字"
|
||||||
}
|
},
|
||||||
|
"not-found": "未找到页面"
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
[build]
|
[build]
|
||||||
publish = "dist"
|
publish = "dist"
|
||||||
command = "npx pnpm@5.4 i --store=node_modules/.pnpm-store && npm run build"
|
command = "npx pnpm i --store=node_modules/.pnpm-store && npm run build"
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/*"
|
from = "/*"
|
||||||
|
@ -39,7 +39,8 @@ onMounted(update)
|
|||||||
span.iconify {
|
span.iconify {
|
||||||
background: #5551;
|
background: #5551;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
min-width: 10px;
|
min-width: 1em;
|
||||||
min-height: 1em;
|
min-height: 1em;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
12
src/pages/[...all].vue
Executable file
12
src/pages/[...all].vue
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
{{ t('not-found') }}
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup lang='ts'>
|
||||||
|
import { useI18n } from 'vue-i18n'
|
||||||
|
|
||||||
|
const { t } = useI18n()
|
||||||
|
export { t }
|
||||||
|
</script>
|
@ -35,7 +35,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup='props' lang='ts'>
|
<script setup lang='ts'>
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import { useI18n } from 'vue-i18n'
|
import { useI18n } from 'vue-i18n'
|
||||||
|
@ -9,10 +9,10 @@ module.exports = {
|
|||||||
'./src/**/*.js',
|
'./src/**/*.js',
|
||||||
'./src/**/*.ts',
|
'./src/**/*.ts',
|
||||||
],
|
],
|
||||||
|
options: {
|
||||||
whitelist: [
|
whitelist: [
|
||||||
'schema-dark',
|
'schema-dark',
|
||||||
],
|
],
|
||||||
options: {
|
|
||||||
extractors: [
|
extractors: [
|
||||||
{
|
{
|
||||||
extractor,
|
extractor,
|
||||||
|
Loading…
Reference in New Issue
Block a user