question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Serious problem with documentation

See original GitHub issue

I still don’t understand how to get even the basic hello world set up with Twind could find myself give up this project.

What is the next step I’m suppose to run after:

npm i twind

and documentations guide is confusing despite with years of programming experience in other area.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

3reactions
sastancommented, May 5, 2022

Tailwind v3 is only supported in the twind v1 beta (https://github.com/tw-in-js/twind/tree/next).

1reaction
sastancommented, Oct 4, 2022

@bstro If you are calling/using tw in your components module on the top-level then these will run before setupin your main entry has run. I typically put the setup code into an extra file like setup.env.ts:

import { setup } from 'twind'
import config from './twind.config'
setup(config)

And then in your main/app file import that file before your components:

import './setup.env'

// now import app and components

I hope this helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Poor Documentation: Why It Happens and How to Fix It
In general, Stewart says poor documentation is defined as that which is lacking clarity, specificity, or completeness, and is of overall poor quality....
Read more >
11+ Critical Document Management Challenges and Solutions
Document management challenges can affect a host of concerns. Digital file management chaos, high document process cycle time, document ...
Read more >
Top five product documentation challenges Canvas Envision
The five biggest challenges to product documentation are Quantity, Creation, Quality, Consumption, and Obsolescence. Learn more.
Read more >
Nursing documentation: How to avoid the most common ...
Top 9 types of medical documentation errors · Sloppy or illegible handwriting · Failure to date, time, and sign a medical entry ·...
Read more >
6 Problems Caused by Inefficient Document Management
4.) Problem: Manual processes have outdated or no security measures - filing cabinets are rapidly becoming outdated. Solution: Your documents ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found