search

Home  >  Q&A  >  body text

javascript - vue routing error written with scaffolding! ! ! Urgent! Urgent! ! !

image description



## is an error when inserting the html code of the route, Baidu After translation, it said: <Router Link> Are you registering the components correctly? For recursive components, make sure to provide the "name" option. Don't even know what's wrong? Thank you all. ! ! !

仅有的幸福仅有的幸福2770 days ago799

reply all(2)I'll reply

  • 学习ing

    学习ing2017-06-15 09:24:05

    Isn’t this a MOOC imitating Ele.me course? The routing needs to be mounted on the root instance. Why are you doing a new Vue

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-06-15 09:24:05

    Rules set by others. If you don’t know the principles, you can only find the usage of the projects that have been implemented. Blind testing is not an option. It won’t work to completely copy the writing method of the official website. The answer is here: link description

    There are various usages in the example, follow this.

    reply
    0
  • Cancelreply