Skip to content

[Docs]: Add twin.macro migration documentation #527

@davidrhoderick

Description

@davidrhoderick

Documentation Is:

Missing

Link to relevant page or pages

https://twind.dev/migration-guides/twinmacro.html

Please Explain in Detail...

We have a Next.js application that is using Babel to build twin.macro styles. That blocks our ability to use the SWC compiler (I've tried a few work-arounds but nothing has worked yet). As a result, I stumbled across twind but there is no documentation on how to migrate. Our project is large and this would be a high blast-radius change, so official documentation would be extremely helpful.

Your Proposal for Changes

  • Add the twin.macro migration documentation.
  • Include the browser-side migration instructions as well as using the macro (we wouldn't use the macro but I think others would).
  • Document missing features.

Alternatives considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    📚 DocumentationThe documentation is lacking or missing something

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions