personal-website/astro.config.ts
2024-05-13 11:30:21 +08:00

29 lines
568 B
TypeScript

import { defineConfig } from 'astro/config'
import mdx from '@astrojs/mdx'
import sitemap from '@astrojs/sitemap'
import UnoCSS from 'unocss/astro'
import vue from '@astrojs/vue'
export default defineConfig({
site: 'https://astro-theme-vitesse.netlify.app/',
server: {
port: 1977,
},
integrations: [
mdx(),
sitemap(),
UnoCSS({
injectReset: true,
}),
vue(),
],
markdown: {
shikiConfig: {
themes: {
light: 'github-light-default',
dark: 'github-dark-default',
},
wrap: true,
},
},
})