mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
Generate tailwind config with type imported (#3585)
This commit is contained in:
parent
60653c7340
commit
56a99bebbe
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ export const ALIASES = new Map([
|
||||||
['tailwindcss', 'tailwind'],
|
['tailwindcss', 'tailwind'],
|
||||||
]);
|
]);
|
||||||
export const CONFIG_STUB = `import { defineConfig } from 'astro/config';\n\nexport default defineConfig({});`;
|
export const CONFIG_STUB = `import { defineConfig } from 'astro/config';\n\nexport default defineConfig({});`;
|
||||||
export const TAILWIND_CONFIG_STUB = `module.exports = {
|
export const TAILWIND_CONFIG_STUB = `/** @type {import('tailwindcss').Config} */
|
||||||
|
module.exports = {
|
||||||
content: ['./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}'],
|
content: ['./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}'],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {},
|
extend: {},
|
||||||
|
|
Loading…
Reference in a new issue