界面跳轉(zhuǎn)過來就報錯,沒找到原因
Unknown custom element: <roter-link> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
Unknown custom element: <roter-link> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
2019-06-25
舉報
2019-06-25
同學(xué),您的代碼拼寫出錯了。router-link,而非roter-link,錯誤的提示給的很清楚。
建議使用IDE的vue插件,這樣呢會有一些代碼的提示。
我們以vscode為例:
請安裝 vue vue-beautify? vetur這三個插件。