frankstallone / astro-cube-boilerplate

30 stars 3 forks source link

No Tailwind CSS IntelliSense #3

Closed rol4nd909 closed 8 months ago

rol4nd909 commented 8 months ago

Hi I'm not sure if it's something to do with the boilerplate or that I missed something.

But in my setup https://github.com/rol4nd909/fm-accordion I don't have the Tailwind CSS IntelliSense it's enabled in my vscode.

This is what I see in the output

[Error - 20:49:52] Tailwind CSS: Can't resolve 'tailwindcss/plugin' in '~/frontend-mentor/accordion'
Error: Can't resolve 'tailwindcss/plugin' in '~/frontend-mentor/accordion'

I hope you can point me in the right direction.

Thanks in advance

frankstallone commented 8 months ago

Is your project private? That link 404's for me.

I did just push a bug fix. I had an issue with an extra comma in package.json that was causing npm i to fail. However after that the IntelliSense seems to be working fine on the barebones project, and other projects I using this on. When I can see your project I'll clone it and see if I am having the same issues you are.

Just to be clear, you are not able to see this when adding classes in VS Code, too? 👇🏻 Stallone 2024-03-06 at 05 55 27@2x

rol4nd909 commented 8 months ago

Sorry it was private indeed, now it's public. And yes that's what I would expect to see but do not.

frankstallone commented 8 months ago

Okay. It would appear on my machine IntelliSense is working correctly, and I do not have anything in my VSCode Output panel.

Stallone 2024-03-06 at 06 08 39@2x

I am using npm, but you are using pnpm. Not sure if that is an issue or not. Going to look a bit more into this later but if you clone this boilerplate repo directly, install dependencies, and hop into VSCode, do you still have this issue?

rol4nd909 commented 8 months ago

Tried with npm and now it's working ;) Thanks for checking for me.