nuxt / postcss8

Opt-in to postcss 8 in Nuxt 2 apps.
MIT License
60 stars 7 forks source link

'@nuxt/postcss8' path to tailwind.config.js inside postcss.plugins.tailwindcss #41

Open agwisniewska opened 1 year ago

agwisniewska commented 1 year ago

Hi,

I am, adding tailwind v.3 to my nuxt2 project. I follow the instruction https://tailwindcss.com/docs/guides/nuxtjs but the thing is that I don't want to have tailwind.config.js file inside my nuxt2 project, but import it from the other repository (above the nuxt project) I'm struggling how and where to pass a proper path.

I need something like with a css example here: css: [require.resolve('@myrepo/design/assets/main.css')],

Can you guide me with this?

Screenshot 2023-01-11 at 18 38 56 Screenshot 2023-01-11 at 18 38 46