@lttr/nuxt-config-postcss
v0.0.8
Published
Custom postcss config for Nuxt
Downloads
11
Readme
Nuxt config Postcss
An opinionated Postcss config for Nuxt
Quick Setup
Install the module to your Nuxt application with one command:
npx nuxi module add @lttr/nuxt-config-postcss
Configuration
Add a file to the configuration which contains global custom media query definitions:
import { createResolver } from "@nuxt/kit"
const resolver = createResolver(import.meta.url)
export default defineNuxtConfig({
modules: ["@lttr/nuxt-config-postcss"],
lttrConfigPostcss: {
filesWithGlobals: [resolver.resolve("./assets/css/media.css")],
},
})