Level 75
Look at https://laravel.com/docs/9.x/mix#browsersync-reloading But really it's no big deal to just do a refresh.
I have a question. When I start nom run watch I get no errors. But when I make a change I have to run rpm run dev again and I have to refresh my browser to activate the changes. There is also no message on the screen. In develop mode, chrome, I can not acces the style of tailwind.
in my webpack.mix.js
const mix = require('laravel-mix');
mix.js("resources/js/app.js", "public/js")
.postCss("resources/css/app.css", "public/css", [
require("tailwindcss"),
]);
and my tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./resources/**/*.blade.php",
"./resources/**/*.js",
"./resources/**/*.vue",
],
darkMode: 'media', // or 'media' or 'class'
theme: {
extend: {},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/line-clamp'),
],
}
I use PhpStorm.
Please or to participate in this conversation.