Vue stepped on the pit (I encountered it when I just created the project): ✖ 1 problem (1 error, 0 warnings) 1 error and 0 warnings potentially fixable

<template>
  <div>
    1
  </div>
</template>

<script>
export default {
    
    

}
</script>

<style>

</style>

Just type a line of space in the last line of this vue.

Guess you like

Origin blog.csdn.net/wsxDream/article/details/112168643