Skip to content

Commit 75efd0a

Browse files
feat: add react to Astro
1 parent 5db8a4b commit 75efd0a

File tree

4 files changed

+550
-4
lines changed

4 files changed

+550
-4
lines changed

astro.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@ import { defineConfig } from 'astro/config';
33

44
import tailwindcss from '@tailwindcss/vite';
55

6+
import react from '@astrojs/react';
7+
68
export default defineConfig({
79
site: 'https://nitrovim.github.io/',
810
outDir: 'dist',
911

1012
vite: {
1113
plugins: [tailwindcss()]
12-
}
14+
},
15+
16+
integrations: [react()]
1317
});

0 commit comments

Comments
 (0)