vue报错Adjacent JSX elements must be wrapped in an enclosing tag.

参考链接:https://segmentfault.com/q/1010000017163378

解决方法:

.eslintrc

{
  "parserOptions": {
    "parser": "babel-eslint"
  },
  "extends": [
    "plugin:vue/essential", 
    "standard"   
  ],  
  "plugins": [
      "html",
      "vue"
  ]
}

 

posted @ 2021-01-07 11:44  放飞的回忆  阅读(400)  评论(0编辑  收藏  举报