Vue.js Question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Vue.js Question

So I have a few .vue pages and I use a navbar to navigate. 2/3 Pages work, the last one gives me the error: Failed to mount component: template or render function not defined. But the code for all three files is the same except that I changed the class of a div and the contents of a h1. Any ideas?

23rd Aug 2019, 1:21 PM
Paul Grasser
Paul Grasser - avatar
1 Answer
0
rudolph flash I managed to get it to work by now, all I had to do was restart the npm serve :/
23rd Aug 2019, 6:22 PM
Paul Grasser
Paul Grasser - avatar