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

413
Views
layouts\default.vue will be reset after I restart the nuxt.js server

I'm currently trying to learn vue.js on the nuxtjs server in the localhost:3000.

I have found out a problem that whenever I create a new "xxxx.vue" file in the "pages" directory or restarting the nuxt.js server, the server will generate a new "default.vue" file to replace my old one (in \layouts\default.vue).

How can this problem to be solved? Is there any way to prevent it from generating a new file to replace it? Thanks a lot!

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

If you modified the .nuxt\layouts\default.vue, it will reset after the dev server restart. If you want modify the layout, ignore this file, and create (or copy) a layouts\default.vue in your root directory, and modify this file.

over 4 years ago · Santiago Trujillo 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!