add svelte and progress

This commit is contained in:
2024-11-22 01:19:50 +01:00
parent 5615e62d41
commit 40cbf9b82e
6 changed files with 265 additions and 8 deletions

View File

@@ -5,11 +5,13 @@ import mdx from '@astrojs/mdx'
import sitemap from '@astrojs/sitemap'
import { remarkReadingTime } from './readingTime'
import svelte from '@astrojs/svelte';
// https://astro.build/config
export default defineConfig({
site: 'https://example.com',
integrations: [mdx(), sitemap()],
integrations: [mdx(), sitemap(), svelte()],
markdown: {
remarkPlugins: [remarkReadingTime],
},
})
})