-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Hi,
Im using tailwind (last version) + scss together via post-css.
Everything works fine.
Im using npm script for watch mode
"dev:tw:watch2": "set TAILWIND_MODE=watch&postcss --env dev ./www/sass/screen.scss -o ./www/assets/css/app.dev.css --watch --verbose", and its works fine.
But Tailwind doesn't track my files with a .latte extension (similar to a twig system). I must resave css / scss file and TW regenerate all ... its confusing.
tailwind.config.js
module.exports = {
//content: ['./src/**/*.{html,js}'],
content: ['**/*.latte'],
theme: {
extend: {},
},
plugins: [],
};
And here is short video hot it works / dont works ;-)
Can you help me how to set it right or what am I doing wrong?
Metadata
Metadata
Assignees
Labels
No labels