Is npm run dev running? What did you change?
laravel 9 browser inspection changes not appearing tailwind css inertia.
i found similar problem in "https://laracasts.com/discuss/channels/vite/laravel-9-vite-not-updating-tailwind-changes" this post but unable to get what is the reason happening ? as per understanding its look like compile is not working . please suggest here is the tailwind.config.js below.. i am working on default laravel welcome.vue component.
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./vendor/laravel/jetstream/**/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./resources/js/**/*.vue',
],
theme: {
extend: {
fontFamily: {
sans: ['Nunito', ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
};
@redroseamit but you are changing it in the browser not in code? That's not possible. Tailwindcss only compiles classes that are used in code. So if dark:text-slate-400 isn't anywhere in your code, you cannot use it
It looks in all files in the content array in the config to find out what classes to create
Please or to participate in this conversation.