init astro template

This commit is contained in:
2025-04-28 22:43:09 +08:00
commit 96b752b0c5
15 changed files with 4924 additions and 0 deletions

14
astro.config.mjs Normal file
View File

@@ -0,0 +1,14 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import react from '@astrojs/react';
import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
// ...
integrations: [mdx(), react()],
vite: {
plugins: [tailwindcss()],
},
});