Skip to content

Commit 20dba56

Browse files
committed
nextjs to astro rewrite
1 parent b63c3b3 commit 20dba56

20 files changed

+1026
-239
lines changed

astro.config.mjs

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
import { defineConfig } from 'astro/config';
2+
import tailwind from "@astrojs/tailwind";
3+
4+
import react from "@astrojs/react";
25

36
// https://astro.build/config
4-
export default defineConfig({});
7+
export default defineConfig({
8+
integrations: [tailwind(), react()]
9+
});

package.json

+12-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,18 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"astro": "^4.3.2",
1413
"@astrojs/check": "^0.4.1",
15-
"typescript": "^5.3.3"
14+
"@astrojs/react": "^3.0.9",
15+
"@astrojs/tailwind": "^5.1.0",
16+
"@fontsource/geist-sans": "^5.0.1",
17+
"@types/react": "^18.2.52",
18+
"@types/react-dom": "^18.2.18",
19+
"astro": "^4.3.2",
20+
"astro-seo": "^0.8.0",
21+
"react": "^18.2.0",
22+
"react-dom": "^18.2.0",
23+
"tailwindcss": "^3.4.1",
24+
"typescript": "^5.3.3",
25+
"use-lanyard": "^1.5.2"
1626
}
1727
}

0 commit comments

Comments
 (0)