为了账号安全,请及时绑定邮箱和手机立即绑定

删除app.vue里面的内容vue显示报错是为什么啊

Failed to compile.

./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-04c2046b","hasScoped":false,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue
(Emitted value instead of an instance of Error)
  Error compiling template:
 
  123
 
  - Component template requires a root element, rather than just text.

@ ./src/App.vue 11:0-354
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

正在回答

1 回答

用:template:"<li>123</li>"

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

删除app.vue里面的内容vue显示报错是为什么啊

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信