Unverified Commit 10dd3367 authored by akazwz's avatar akazwz Committed by GitHub

chore: update empty template tailwindcss config (#66173)

### What?

update update empty template tailwindcss config

### Why?

empty template tailwindcss with src dir has problem
[https://github.com/vercel/next.js/blob/canary/packages/create-next-app/templates/index.ts#L162](https://github.com/vercel/next.js/blob/canary/packages/create-next-app/templates/index.ts#L162)

### How?

Closes NEXT-
Fixes #66172
Co-authored-by: 's avatarSam Ko <sam@vercel.com>
parent 73a05e1e
/** @type {import('tailwindcss').Config} */ /** @type {import('tailwindcss').Config} */
module.exports = { module.exports = {
content: ["./app/**/*.{js,jsx,mdx}"], content: ["./app/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {}, theme: {},
plugins: [], plugins: [],
}; };
import type { Config } from "tailwindcss"; import type { Config } from "tailwindcss";
const config: Config = { const config: Config = {
content: ["./app/**/*.{ts,tsx,mdx}"], content: ["./app/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {}, theme: {},
plugins: [], plugins: [],
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment