Skip to content

Instantly share code, notes, and snippets.

@dnhn
Last active December 11, 2024 17:31
Show Gist options
  • Select an option

  • Save dnhn/31c93d7dccf9e203a1610d03883f324e to your computer and use it in GitHub Desktop.

Select an option

Save dnhn/31c93d7dccf9e203a1610d03883f324e to your computer and use it in GitHub Desktop.

https://nextjs.org/docs/app/api-reference/cli/create-next-app

npx create-next-app@latest --empty --use-pnpm

https://tailwindcss.com/docs/installation/using-postcss

https://tailwindcss.com/docs/using-with-preprocessors

content: ["./src/app/**/*.{css,js,ts,jsx,tsx,mdx}"]
npm install -D autoprefixer postcss-preset-env
'tailwindcss/nesting': {},
tailwindcss: {},
'postcss-preset-env': {},
autoprefixer: {},

https://github.com/tailwindlabs/prettier-plugin-tailwindcss

https://prettier.io/docs/en/integrating-with-linters.html

"lint": "next lint --fix",
"format": "prettier --write ."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment