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