responsive-system 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/postinstall.js +2 -3
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -312,9 +312,8 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
|
|
|
312
312
|
// Crear src/index.css
|
|
313
313
|
const indexCssPath = path.join(projectRoot, 'src', 'index.css')
|
|
314
314
|
if (!fs.existsSync(indexCssPath)) {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
@tailwind utilities;
|
|
315
|
+
// Tailwind CSS v4 usa @import en lugar de @tailwind
|
|
316
|
+
const indexCss = `@import "tailwindcss";
|
|
318
317
|
`
|
|
319
318
|
fs.writeFileSync(indexCssPath, indexCss)
|
|
320
319
|
console.log(' ✅ Creado: src/index.css')
|