1、实例化
new Vue({ el:'#id', router, components:{App}, template:<App /> }) new Vue({ router, store, axios, render:h=>h(App) }).$mount('#app')
2、拓展
报错-Expected indentation of 0 spaces eslintrc.js 添加 "indent": ["off", 2]