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

321
Visualizações
A newbie question. What are **.config.js and **.vue.js files? How is it different from normal .js file?

My question sounds very basic but I do not know the answer and I could not found them by searching.

I have seen files like vue.config.js created by vue-cli. I have also seen files like Content.vue.js.

I thought that after period ., it is the file extension. How can these two have two period? What is the difference between .config.js and .vue.js files to normal .js files? When to use them?

Thank you!

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I think that it helps to free your mind of any kind of strict view of file extensions. File extensions don't really exist, they are just an optional hint put there by whoever created the file as to what the content or the format might be. You could have a file with no extension, or a file that is "only" an extension (often called dotfiles and used for configuration), like .gitignore or .bashrc.

So, in this case, the creator of vue.config.js decided that the best hint for the content is the "extension" .config.js. It can have two periods because there aren't really any strict rules saying that it can't.

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