Die Rückenwindklasse funktioniert nach der Installation nicht

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Die Rückenwindklasse funktioniert nach der Installation nicht

by Guest » 09 Feb 2025, 13:13

Ich habe versucht, CSS zu verwenden, jetzt installiere ich nur Rückenwind -CSS mit NPM und baue dann die CSS und stelle die Ausgabe.CSS zur Verfügung. Aber wenn ich die BG-Black-Klasse in einer Taste zum Testen verwende, funktioniert sie immer noch nicht.

Code: Select all

tailwindcss -i ./src/style.css -o ./dist/output.css< /code> Ich habe es in das Skript in package.json < /p>
Verzeichnisdateipfad:

 
In src/style.css 

Code: Select all

@tailwind base;
@tailwind components;
@tailwind utilities;
In Tailwind.config.js

Code: Select all

    theme: {
extend: {
// ...
},
},
plugins: [],
}
in dist/index.html

Code: Select all







Learn Tailwind



Awesome



Das HTML im Browser -Ergebnis:

Top