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

320
Vistas
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 Respuestas
Responde la pregunta

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 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