错误原因
没有引用iview模块就进行了iview组件的使用,导致如下错误
Unknown custom element: <Row> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
解决方法
main.js 中添加 iview的引用
import Vue from 'vue'
import App from './App'
import router from './router'
import iView from 'iview'
Vue.config.productionTip = false
Vue.use(iView)