🚀 Ready to vercel
This commit is contained in:
parent
1bc50aecc5
commit
5f1f965292
@ -9,9 +9,12 @@ import mdx from '@astrojs/mdx'
|
||||
|
||||
import sitemap from '@astrojs/sitemap'
|
||||
|
||||
import vercel from '@astrojs/vercel';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: 'https://solsynth.dev',
|
||||
|
||||
integrations: [
|
||||
tailwind(),
|
||||
icon(),
|
||||
@ -21,7 +24,9 @@ export default defineConfig({
|
||||
i18n: { defaultLocale: 'en', locales: { en: 'en-US', 'zh-cn': 'zh-CN' } },
|
||||
}),
|
||||
],
|
||||
|
||||
prefetch: true,
|
||||
|
||||
i18n: {
|
||||
locales: ['en', 'zh-cn'],
|
||||
defaultLocale: 'en',
|
||||
@ -30,4 +35,6 @@ export default defineConfig({
|
||||
prefixDefaultLocale: false,
|
||||
},
|
||||
},
|
||||
|
||||
adapter: vercel(),
|
||||
})
|
@ -12,6 +12,7 @@
|
||||
"@astrojs/mdx": "^4.0.2",
|
||||
"@astrojs/sitemap": "^3.2.1",
|
||||
"@astrojs/tailwind": "^5.1.3",
|
||||
"@astrojs/vercel": "^8.0.1",
|
||||
"@iconify-json/material-symbols": "^1.2.10",
|
||||
"@iconify-json/simple-icons": "^1.2.16",
|
||||
"astro": "^5.0.5",
|
||||
|
Loading…
Reference in New Issue
Block a user