Set up tailwind maybe...

This commit is contained in:
2024-10-30 15:47:43 +01:00
parent 385b22d4e4
commit 114eaddc94
3 changed files with 25 additions and 2 deletions

View File

@@ -1,7 +1,10 @@
// @ts-check // @ts-check
import { defineConfig } from 'astro/config'; import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
output: "server", output: "server",
integrations: [tailwind()],
}); });

View File

@@ -11,6 +11,7 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/check": "^0.9.4", "@astrojs/check": "^0.9.4",
"@astrojs/tailwind": "^5.1.2",
"astro": "^4.16.7", "astro": "^4.16.7",
"typescript": "^5.6.3" "typescript": "^5.6.3"
}, },

View File

@@ -11,6 +11,9 @@ importers:
'@astrojs/check': '@astrojs/check':
specifier: ^0.9.4 specifier: ^0.9.4
version: 0.9.4(typescript@5.6.3) version: 0.9.4(typescript@5.6.3)
'@astrojs/tailwind':
specifier: ^5.1.2
version: 5.1.2(astro@4.16.7(rollup@4.24.2)(typescript@5.6.3))(tailwindcss@3.4.14)
astro: astro:
specifier: ^4.16.7 specifier: ^4.16.7
version: 4.16.7(rollup@4.24.2)(typescript@5.6.3) version: 4.16.7(rollup@4.24.2)(typescript@5.6.3)
@@ -69,6 +72,12 @@ packages:
resolution: {integrity: sha512-Z9IYjuXSArkAUx3N6xj6+Bnvx8OdUSHA8YoOgyepp3+zJmtVYJIl/I18GozdJVW1p5u/CNpl3Km7/gwTJK85cw==} resolution: {integrity: sha512-Z9IYjuXSArkAUx3N6xj6+Bnvx8OdUSHA8YoOgyepp3+zJmtVYJIl/I18GozdJVW1p5u/CNpl3Km7/gwTJK85cw==}
engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0} engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0}
'@astrojs/tailwind@5.1.2':
resolution: {integrity: sha512-IvOF0W/dtHElcXvhrPR35nHmhyV3cfz1EzPitMGtU7sYy9Hci3BNK1To6FWmVuuNKPxza1IgCGetSynJZL7fOg==}
peerDependencies:
astro: ^3.0.0 || ^4.0.0 || ^5.0.0-beta.0
tailwindcss: ^3.0.24
'@astrojs/telemetry@3.1.0': '@astrojs/telemetry@3.1.0':
resolution: {integrity: sha512-/ca/+D8MIKEC8/A9cSaPUqQNZm+Es/ZinRv0ZAzvu2ios7POQSsVD+VOj7/hypWNsNM3T7RpfgNq7H2TU1KEHA==} resolution: {integrity: sha512-/ca/+D8MIKEC8/A9cSaPUqQNZm+Es/ZinRv0ZAzvu2ios7POQSsVD+VOj7/hypWNsNM3T7RpfgNq7H2TU1KEHA==}
engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0} engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0}
@@ -2161,6 +2170,16 @@ snapshots:
dependencies: dependencies:
prismjs: 1.29.0 prismjs: 1.29.0
'@astrojs/tailwind@5.1.2(astro@4.16.7(rollup@4.24.2)(typescript@5.6.3))(tailwindcss@3.4.14)':
dependencies:
astro: 4.16.7(rollup@4.24.2)(typescript@5.6.3)
autoprefixer: 10.4.20(postcss@8.4.47)
postcss: 8.4.47
postcss-load-config: 4.0.2(postcss@8.4.47)
tailwindcss: 3.4.14
transitivePeerDependencies:
- ts-node
'@astrojs/telemetry@3.1.0': '@astrojs/telemetry@3.1.0':
dependencies: dependencies:
ci-info: 4.0.0 ci-info: 4.0.0