twin.examples

Packed with examples for different frameworks, this repo helps you get started with twin a whole lot faster. (by ben-rogerson)

Twin.examples Alternatives

Similar projects and alternatives to twin.examples

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better twin.examples alternative or higher similarity.

twin.examples discussion

Log in or Post with

twin.examples reviews and mentions

Posts with mentions or reviews of twin.examples. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-06-13.
  • Setting up twin.macro with Vite + React
    2 projects | dev.to | 13 Jun 2024
    Okay, we are all done with that. Now to the entire configurations. Now, if you follow Ben Rogerson’s docs in his explanation, you will see the ability to add the babel field to your package.json, or to create a babel-plugin-macros.config.js file and add some code to it. I would suggest you rename it to .mjs, instead of .js If you are adding to the package.json, you add;
  • How to load a GLTF model inside NextJS in 2022
    2 projects | /r/threejs | 18 Feb 2022
    Hey, I'm trying (and failing) to put together a codesandbox. I think it's easier to replicate the steps from here: https://github.com/ben-rogerson/twin.examples/tree/master/next-styled-components
  • How to set up _document.js with twin.macro + Google Analytics ?
    1 project | /r/nextjs | 24 Sep 2021
    well, this is exactly how it's set up in the twin.macro example repo with next.js, and it is working perfectly fine?
  • How to setup create-react-app twin.macro and emotion
    4 projects | dev.to | 29 Mar 2021
    You can pretty much follow all the steps from this tutorial, until this point where it tells you to extend JSX with a jsx-pragma in front of every twin.macro import. The documentation underneath says the following:
  • How to Build A React TS Tailwind Design System
    20 projects | dev.to | 16 Feb 2021
    Alright, I had my tools in place and it was time to start connecting the dots, so to speak. I kicked off a new TSDX project, installed Styled components, and then went on to try and set up twin.macro. However, I hit a snag there... In the Twin example repo, there was no Styled Components + Storybook example, so I configured what seemed to make sense. Then I went on to add some samples, imported them into a new Story, and tried to run Storybook. It didn't work as expected. Some of the code worked and other components that were using the tw syntax didn't:
  • Boilerplate with React 17, Webpack 5, Tailwind 2, using babel, sass, with a hot dev server and an optimized production build
    7 projects | /r/reactjs | 2 Jan 2021
    the biggest would be as a plugin to compile/transpile other language macros for example twin-macro (styled components using tailwind syntax) https://github.com/ben-rogerson/twin.examples/tree/master/component-library-styled-components/packages/components
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 Oct 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic twin.examples repo stats
6
465
6.4
6 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com