diff --git a/frontend/astro.config.mjs b/frontend/astro.config.mjs index fe47d5d..88a4f8c 100644 --- a/frontend/astro.config.mjs +++ b/frontend/astro.config.mjs @@ -1,7 +1,10 @@ // @ts-check import { defineConfig } from 'astro/config'; +import tailwind from "@astrojs/tailwind"; + // https://astro.build/config export default defineConfig({ - output: "server", -}); + output: "server", + integrations: [tailwind()], +}); \ No newline at end of file diff --git a/frontend/package.json b/frontend/package.json index 73d8eb2..edbc184 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,6 +11,7 @@ }, "dependencies": { "@astrojs/check": "^0.9.4", + "@astrojs/tailwind": "^5.1.2", "astro": "^4.16.7", "typescript": "^5.6.3" }, diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 2e7fff1..9fff89c 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -11,6 +11,9 @@ importers: '@astrojs/check': specifier: ^0.9.4 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: specifier: ^4.16.7 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==} 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': resolution: {integrity: sha512-/ca/+D8MIKEC8/A9cSaPUqQNZm+Es/ZinRv0ZAzvu2ios7POQSsVD+VOj7/hypWNsNM3T7RpfgNq7H2TU1KEHA==} engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0} @@ -2161,6 +2170,16 @@ snapshots: dependencies: 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': dependencies: ci-info: 4.0.0