Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

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

Description

@agwisniewska

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions