Skip to content

Tailwind CSS / PostCss Configuration issue #12

@JBCityranked

Description

@JBCityranked

I love this plugin!

I'm new to Webpack and am still adjusting to this plugins set up.

I was able to add BoostrapVue via scss on another project. However, I'm trying to use TailwindCSS with their PostCSS loader.

I'm not sure how to include tailwindcss in the postcss-loader in the webpack.config.js file
https://tailwindcss.com/docs/installation/

I installed PostCSS but when updating the webpack.config.js it breaks down.
https://www.npmjs.com/package/postcss-loader
Should i be changing
use: [ 'style-loader', 'css-loader' ]
to
use: [ 'style-loader', { loader: 'css-loader', options: { importLoaders: 1 } }, 'postcss-loader' ]
?

Any and all help would be appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions