summaryrefslogtreecommitdiff
path: root/examples/with-tailwindcss/astro.config.mjs
blob: e94cfab6297d6dd7b4ebdd76708e4abc050ad4e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Full Astro Configuration API Documentation:
// https://docs.astro.build/reference/configuration-reference

// @type-check enabled!
// VSCode and other TypeScript-enabled text editors will provide auto-completion,
// helpful tooltips, and warnings if your exported object is invalid.
// You can disable this by removing "@ts-check" and `@type` comments below.

// @ts-check
export default /** @type {import('astro').AstroUserConfig} */ ({
  // Enable Tailwind by telling Astro where your Tailwind config file lives.
  devOptions: {
    tailwindConfig: './tailwind.config.js', 
  },
  // Enable the Preact renderer to support Preact JSX components.
  renderers: ['@astrojs/renderer-preact'],
});