Vue报错:TypeError: Cannot read property ‘$createElement’ of undefined 这个错误就是路由上的component写成了components 改过来就好了。