Skip to content

Commit 5f7048a

Browse files
committed
hello tailwind css
1 parent a0bbfd5 commit 5f7048a

File tree

4 files changed

+361
-2
lines changed

4 files changed

+361
-2
lines changed

astro.config.mjs

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

3+
import tailwind from "@astrojs/tailwind";
4+
35
// https://astro.build/config
4-
export default defineConfig({});
6+
export default defineConfig({
7+
integrations: [tailwind()]
8+
});

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"astro": "^4.6.1",
1413
"@astrojs/check": "^0.5.10",
14+
"@astrojs/tailwind": "^5.1.0",
15+
"astro": "^4.6.1",
16+
"tailwindcss": "^3.4.3",
1517
"typescript": "^5.4.5"
1618
},
1719
"packageManager": "[email protected]+sha1.44793e979f677db082fa49826446aad5aa4ee6b8"

0 commit comments

Comments
 (0)