Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Add PostCSS to slate.config.js #540

Closed
RustyDev opened this issue May 9, 2018 · 6 comments
Closed

Add PostCSS to slate.config.js #540

RustyDev opened this issue May 9, 2018 · 6 comments

Comments

@RustyDev
Copy link

RustyDev commented May 9, 2018

Is there any documentation for adding a PostCSS plugin in the build process? I'd like to use Tailwind CSS.

@t-kelly
Copy link
Contributor

t-kelly commented May 10, 2018

I am using PostCSS in the webpack build. I can make it configurable via slate.config.js. I'm going to change the title of this and use this issue to keep track of the progress.

@t-kelly t-kelly changed the title Is it possible to use PostCSS plugins? Add PostCSS to slate.config.js May 10, 2018
@mrobit
Copy link

mrobit commented Jun 8, 2018

Sorry to be a bother - any update on this? @t-kelly you'd mentioned that your'e using PostCSS in the webpack build - can you explain a little more on how that works? I saw your comment about slate.config.js and webpack configs here so I wasn't sure if that's where I should start or not. I'm also wanting to use Tailwind for a rebuild for a site; it'd make my life so much easier for keeping my WordPress and shopify themes in sync.

@seandogg
Copy link

+1 -- looking to add some CSS Grid support in IE11 and add some PostCSS plugins to the build.

@dan-gamble
Copy link
Contributor

I don't think that it quite fits with this issue but i've implemented PostCSS using slate.config.js here: #670

It does basically replace Sass with PostCSS so it's not really using PostCSS in addition to Sass but i thought it may be helpful.

@dan-gamble
Copy link
Contributor

I'm sure there's more to it than what i've done here but i've started a PR that could get a decent initial version of this going: #683

@lock
Copy link

lock bot commented Oct 26, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants