-
Notifications
You must be signed in to change notification settings - Fork 170
Add Sails tailwindcss setup example #97
base: master
Are you sure you want to change the base?
Conversation
|
This fires up for me okay but I notice when replicating it as per the supplied readme that my vs it might be worth updating this PR with the latest sails. |
|
Running my own attempt at replicating these steps resulted in this error I diffed what I'd created with this example and couldn't spot the source of the problem. Thanks for sharing the example. |
|
Okay, it's working now thanks to https://stackoverflow.com/questions/40090111/postcss-error-object-object-is-not-a-postcss-plugin/64346190#64346190 for the tip to add On another project it failed because I didn't have So, I think that in the readme added in this PR this line: needs to read: |
|
Thanks, @timabell for taking the time to do this. I am reviewing now and will update accordingly. |
|
No problem @DominusKelvin I had one other problem, this line filtered out all my existing assets when I applied it to another project so I changed it back again for now, I haven't got to the bottom of the issue but thought it worth raising now if you're looking at it. 👍 |
|
Okay, to solve the regex problem and reduce complexity I moved This makes the sequence of build steps a little less entangled. |
Here is a minimal setup needed to get Tailwind up and running in a Sails.js application.