Topic: random topic (Read 1325 Times)
Reparar error laravel breeze con npm a la hora de compilar estilos para usar vite
El Error
(node:7912) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
[Failed to load PostCSS config: Failed to load PostCSS config
Reemplazar en postcss.config.js
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
por
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
ejecutar nuevamente para compilar estilos
npm run dev
19-03-2025