Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- First I try
- https://tailwindcss.com/docs/installation/tailwind-cli
- Then
- npm init -y
- npm install tailwindcss @tailwindcss/cli
- Next in
- package.json I modify the file to look like this
- ```
- {
- "name":
- "book_app",
- "version":
- "1.0.0",
- "description":
- "1. Clone the project",
- "main":
- "index.js",
- "scripts":
- {
- "build-css":
- "npx @tailwindcss/cli -i
- C:/Users/user/OneDrive/Desktop/bookcodesktop/bookcode/book_app/app/static/css/src/input.css
- -o
- C:/Users/user/OneDrive/Desktop/bookcodesktop/bookcode/book_app/app/static/css/src/output.css
- --watch"
- },
- "keywords":
- [],
- "author":
- "",
- "license":
- "ISC",
- "dependencies":
- {
- "@tailwindcss/cli":
- "^4.0.10",
- "tailwindcss":
- "^4.0.10"
- }
- }
- ```
- npm run build-css
- AFter everything is finsished in output.css I get a lot of errors like
- https://imgur.com/a/tApVetg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement