Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for .container class #2

Closed
wants to merge 1 commit into from
Closed

Conversation

bradlc
Copy link
Owner

@bradlc bradlc commented Feb 18, 2018

No description provided.

@bradlc bradlc closed this Aug 30, 2018
@montnyc
Copy link

montnyc commented Nov 26, 2019

@bradlc Any reason why this is closed + why no support for plugins?

@ptim
Copy link

ptim commented Jan 28, 2020

I was having a hard time understanding why I couldn't get plugins to work... I just assumed they would! Leaving a note here for future searchers...

For reference, I was using https://github.com/bradlc/babel-plugin-tailwind-components/tree/next with styled-components.

Thanks for your work, regardless 👍

/*
Error: Couldn’t resolve Tailwind class name: form-input

e.resolveStyleFromPlugins
node_modules/tailwind.macro/utils.umd.js:1

Module.<anonymous>
src/components/fields/Input.tsx:11

> 11 | const StyledInput = tw.input`
  12 |   form-input
  13 |   p-6
  14 | `
*/
/*
ReferenceError: _tailwindUtils is not defined

Module.<anonymous>
src/components/fields/Input.tsx:8

>  8 | const StyledInput = tw.input`
   9 |   form-input
  10 | `
*/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants