Код: Выделить всё
npx tailwindcss -i ./static/css/input.css -o ./static/css/output.css
< /code>
Это генерирует для меня файл CSS, но в нем нет всех классов ... с другой стороны, когда я тестирую с этой командой: < /p>
npx tailwindcss --content ./templates/test_endpoint.html --dry-run > output.css
Вот код для tailwind.config.js file:
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./templates/**/*.html",
"./templates/*.html",
"templates/main/index.html",
"templates/base.html",
"./**/templates/**/*.html",
"./static/**/*.css",
"./fastapi_app/**/*.html",
"./main/**/*.html"
],
theme: {
extend: {},
},
plugins: [],
}
Я пробовал переустановить тейскую ветру несколько раз, изменив пути, пробуя другие команды, и результат всегда одинаковы.
Если у вас есть идеи о том, как решить эту проблему, это было бы здорово!
Подробнее здесь: https://stackoverflow.com/questions/795 ... ll-classes
Мобильная версия