Skip to content

Project Setup and Linking To Tailwind.css Questions #1904

Discussion options

You must be logged in to vote

It's a common folder organization, where you have crude code inside src and ready-for-production code inside dist.

Usually, you'll have some sort of script that will take your code inside src, pass it through some plugin, and put the new code inside dist.

In the example you mentioned, as the only piece of your code that needs this kind of transformation is the Tailwind file with the @tailwind rules, it seems a bit of overkill to have extra folders just for it, as your index.html doesn't need any special treatment (you're just writing what will appear in the browser).

Answering your question, for a small project (where you can count the files by hand), I would put everything in the same fo…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@chris-tietgen
Comment options

@estevanmaito
Comment options

@chris-tietgen
Comment options

Answer selected by chris-tietgen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants