personal-website/astro.config.ts

30 lines
558 B
TypeScript
Raw Normal View History

2024-03-13 07:17:11 +00:00
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://baalajimaestro.ptr.moe',
2024-03-13 07:17:11 +00:00
server: {
port: 1977,
},
integrations: [
mdx(),
sitemap(),
UnoCSS({
injectReset: true,
}),
vue(),
],
markdown: {
shikiConfig: {
themes: {
2024-05-13 03:30:21 +00:00
light: 'github-light-default',
dark: 'github-dark-default',
2024-03-13 07:17:11 +00:00
},
wrap: true,
},
},
})