Skip to content

Instantly share code, notes, and snippets.

@JWPapi
Created November 3, 2022 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JWPapi/f3ce69de5989ef8baf7c7ba6289db0d8 to your computer and use it in GitHub Desktop.
Save JWPapi/f3ce69de5989ef8baf7c7ba6289db0d8 to your computer and use it in GitHub Desktop.
import {defineNuxtConfig} from 'nuxt'
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
export default defineNuxtConfig({
modules: ['@nuxtjs/tailwindcss'],
css: ['~/assets/css/tailwind.scss'],
build: {
postcss: {
postcssOptions: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
}
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment