import HelloWorld from './components/HelloWorld'import header from './components/partial/header'import Vue from 'vue'import Router from 'vue-router'Vue.use(Router)export default new Router({routes: [{ path: '/', component: header,
children: [
{ path: 'home', component: HelloWorld }
]
}]})提示語(yǔ)法錯(cuò)誤, 如果對(duì)象屬性并非都位于同一行上,則它們必須位于新行上。? http://eslint.org/docs/rules/... Object properties must go on a new line if they aren't all on the same linesrcrouter.js:10:18path: '/', component: authedWrap,
添加回答
舉報(bào)
0/150
提交
取消