Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

127
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda