Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parcel and TailwindCSS Dependencies #139

Open
justingolden21 opened this issue Jun 26, 2021 · 2 comments
Open

Parcel and TailwindCSS Dependencies #139

justingolden21 opened this issue Jun 26, 2021 · 2 comments

Comments

@justingolden21
Copy link

justingolden21 commented Jun 26, 2021

image

From createapp:

"dependencies": {
    "tailwindcss": "^2.2.4"
  },
  "devDependencies": {
    "parcel-bundler": "^1.12.5",
    "postcss-modules": "^4.1.3",
    "autoprefixer": "^10.2.6"
  }

These were the dependencies that worked for me:

"devDependencies": {
  "autoprefixer": "latest",
  "cssnano": "^5.0.6",
  "npm-run-all": "^4.1.5",
  "parcel": "next",
  "postcss": "^8.3.5",
  "postcss-import": "^14.0.2",
  "tailwindcss": "latest"
 }

It broke my project. I'm going to try removing and reinstalling node modules again and going from scratch. Just trying to get a hello world PWA with tailwind and parcel.

@justingolden21
Copy link
Author

justingolden21 commented Jun 26, 2021

Also, I don't believe clean is necessary for anything here

image

I believe .cache is the folder you want to remove https://parceljs.org/cli.html

@basith374
Copy link

did you figure this out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants