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

156
Visualizações
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!

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

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.

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