- mkdir tailwind-course
- cd tailwind-course
- npm init -y
- code tailwind-course
- npm install live-server -D
- Add the below command into package.json
"start": "live-server",
- npm run dev
- git init
- touch .gitignore
- ignore below files
.idea/
node_modules/
- git status
- git add .
- git commit -m "create a project for tailwind css"
- https://tailwindcss.com/docs/installation
- follow the instructions of the installation page
- add src folder under tailwind-course
npm run start will execute the following command:
"start": "live-server & tailwindcss -i ./src/index.css -o ./dist/index.css --watch",
- tailwind
- Display underlying css
- AutoComplete