Improving the "installation instructions" onboarding journey #2215
jenstornell
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
That's great feedback, thank you! We're going to do some work on the "installation guides" fairly soon, so this is good to have in consideration. 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've read the installation instructions for Tailwind and to me it gives about the half of the information that I need (missing steps). However, this video is brilliant:
https://tailwindcss.com/course/setting-up-tailwind-and-postcss
Install - How I prefer it to be
Install NodeJS
Install NodeJS.
Create package.json
Create a package.json in the terminal.
Install packages
Install the packages you need.
Create a postcss.config.js
Create a file in your root called
postcss.config.js
.Edit the file and include required libraries.
Create a tailwind.css
Create for example the file
css/tailwind.css
and edit that file like below.Edit your package.json
Find the row where it says "scripts". Change it so it looks similar to below.
Try it out
Now you're done! Try to generate a CSS file by the command below.
You should now have a new CSS file at
public/build/tailwind.css
which you can include in your HTML.Beta Was this translation helpful? Give feedback.
All reactions