Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

128
Vistas
Creating app folder but getting TypeScript files instead of JavaScript

I was following a tutorial, to set up and create an react.js + tailwindcss app, I (and the tutorial maker) used.

npx create-next-app -e with-tailwindcss [app name]

the files and all are created but instead of getting javascript files (index.js etc) I get it in typescript (index.tsx).

(his)

enter image description here

(mine)

enter image description here

I read the next.js documentation and it said that if I wanted a TypeScript file I should add the --TypeScript flag to the command, which I didn't, yet still got the TypeScript files.

I followed the video and I didn't make anything different from his, so I'm wondering what did I make wrong and how to fix it.

Sorry for using any wrong tags I really don't know what I should've used.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You did nothing wrong. The example with-tailwindcss was recently converted to TypeScript. You can read about the decision in the corresponding pull request

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda