1- npx create-nuxt-app app-name
2- npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
3- npm install -D sass sass-loader @tailwindcss/forms
4- npx tailwindcss init // for generate config file 'tailwind.config.js'
npm install -D @nuxtjs/tailwindcss tailwindcss@latest postcss@latest autoprefixer@latest
// nuxt.config.js
export default {
buildModules: ['@nuxtjs/tailwindcss']
}