Tailwind CSS not applied in VS code project?
P粉521697419
P粉521697419 2023-08-16 18:34:03
0
2
404

I am developing a project using Laravel 10.18.10 and downloaded the tailwind extension in VS code. When I try to apply the tailwind code, it doesn't seem to be applied to the project. When I hover over the code, the popup window appears as shown. But it does not take effect in the displayed page. Displayed page

By the way, the file is stored in the /resources/views directory, does anyone know what could be causing this problem?

I tried downloading the headwind extension, but it didn't work either. I want to add some padding between two words but can't seem to figure out the problem.

P粉521697419
P粉521697419

reply all (1)
P粉982881583

You put

@tailwind base; @tailwind components; @tailwind utilities;

Is it placed in the global.css file?

  • reply If there are any programmers who need it, you can check out the mini program "Small Code Smart Enjoyment"!
    Chiangchiang author 2023-08-17 17:54:34
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!