Tailwind CSS not applied in VS code project?
P粉521697419
P粉521697419 2023-08-16 18:34:03
0
2
494
<p>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</p> <p>By the way, the file is stored in the /resources/views directory, does anyone know what could be causing this problem? </p> <p>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>
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