Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

107
Views
Viento de cola no cargado con nextjs

Estoy tratando de crear una aplicación usando tailwindcss y next.js

Comencé a crear la aplicación nextjs, luego ejecuté estos comandos:

 npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p

Después de eso, actualicé tailwind.config.js como:

 module.exports = { content: [ "./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}", ], theme: { extend: {}, }, plugins: [], }

Y luego creé y rellené ./syles/globals.css con:

 @tailwind base; @tailwind components; @tailwind utilities;

todo este paso a paso está en el sitio web: https://tailwindcss.com/docs/guides/nextjs pero aún así cualquier intento de personalización no funciona, ¿hay alguna forma de saber si se ha cargado tailwind? ¿Había algo que faltaba por hacer?

ingrese la descripción de la imagen aquí

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Primero importe globals.css en _app.js

 import '../styles/globals.css'

Además, en lugar de @tailwind, haga lo siguiente para agregar tailwind en globals.css

 /* @tailwind base; @tailwind components; @tailwind utilities; */ @import 'tailwindcss/base'; @import 'tailwindcss/components'; @import 'tailwindcss/utilities';
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!