search

Home  >  Q&A  >  body text

Tailwind CSS not applied in VS code project?

<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粉521697419P粉521697419496 days ago496

reply all(2)I'll reply

  • P粉982881583

    P粉9828815832023-08-17 00:34:46

    You put

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

    Is it placed in the global.css file?

    reply
    0
  • Chiangchiang

    If there are any programmers who need it, you can check out the mini program "Small Code Smart Enjoyment"!

    Chiangchiang · 2023-08-17 17:54:34
  • Cancelreply