Skip to content

twzhangyang/tailwind-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup css course

  1. mkdir tailwind-course
  2. cd tailwind-course
  3. npm init -y
  4. code tailwind-course
  5. npm install live-server -D
  6. Add the below command into package.json
"start": "live-server",
  1. npm run dev

Setup git

  1. git init
  2. touch .gitignore
  3. ignore below files
.idea/
node_modules/
  1. git status
  2. git add .
  3. git commit -m "create a project for tailwind css"

Install tailwind css

  1. https://tailwindcss.com/docs/installation
  2. follow the instructions of the installation page
  3. add src folder under tailwind-course

Start npm

npm run start will execute the following command:

"start": "live-server & tailwindcss -i ./src/index.css -o ./dist/index.css --watch",

VSCode extension

  1. tailwind
  • Display underlying css
  • AutoComplete

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published