【发布时间】:2021-09-18 19:45:11
【问题描述】:
npx create-next-app -e with-tailwindcss my-project
这似乎只是顺风顺水
npx create-next-app -ts
这只是配置打字稿
npx create-next-app -e with-tailwindcss my-project -ts
这药似乎有效
【问题讨论】:
标签: typescript next.js tailwind-css
npx create-next-app -e with-tailwindcss my-project
这似乎只是顺风顺水
npx create-next-app -ts
这只是配置打字稿
npx create-next-app -e with-tailwindcss my-project -ts
这药似乎有效
【问题讨论】:
标签: typescript next.js tailwind-css
恐怕现在这两个东西都没有这样的模板。我建议您初始化两个模板,然后手动将所需文件(tailwind.config、postcss.config 等)从 tailwind 文件夹复制到 typescript 文件夹。
【讨论】: