404页面

直接在路由中设置即可,首先要引入Error页面

{path:"*",component:Error}
原文地址:https://www.cnblogs.com/lipu12281/p/11962771.html