1

I am trying to start autoprefixer for grid in my Nuxt project. But unfortunately without success.

I have created a .browserslistrc and entered "default" there.

The nuxt.config.js:

        postcss: {
            plugins: {
                'postcss-import': {},
                'postcss-nested': {},
                tailwindcss: {},
                autoprefixer: {}
            },
            preset: {
                stage: 1,
                autoprefixer: {
                    grid: true
                }
            }
        }

What am I doing wrong?


Solution:

        postcss: {
            plugins: {
                'postcss-import': {},
                'postcss-nested': {},
                tailwindcss: {},
            },
            preset: {
                stage: 1,
                autoprefixer: {
                    grid: true
                }
            }
        }

Bondscoach
  • 11
  • 3

0 Answers0