baisheng / think-nuxt

Nuxtjs for Thinkjs middle
MIT License
4 stars 1 forks source link

编译时 eslint 报错 #1

Closed yh4922 closed 5 years ago

yh4922 commented 5 years ago

在编译时报错

  8:1  error  Parsing error: Adjacent JSX elements must be wrapped in an enclosing tag. Did you want
a JSX fragment <>...</>?

   6 | </template>
   7 |
>  8 | <script>
     | ^
   9 |   import AppLogo from '~/components/test.vue'
  10 |
  11 |   export default {

✖ 1 problem (1 error, 0 warnings)
baisheng commented 5 years ago

这个和插件没关系,你检查你前端 VUE 或者 eslint 的配置。