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

327
Views
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 answers
Answer question

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