vue脚手架编译时,代码内容不让输入空格,输入多余空格报错
<template>
<div class="home">
</div>
</template>
<script>
// @ is an alias to /src
export default {
name: "HomeView",
components: {
},
};
</script>
报错
2:21 error Delete ⏎⏎··
prettier/prettier
11:16 error Delete ⏎⏎··
prettier/prettier
✖ 2 problems (2 errors, 0 warnings)
2 errors and 0 warnings potentially fixable with the --fix
option.
这个在别人电脑里面也有,但是是警告,不影响编译,我的电脑里时报错,无法编译
顺便问一下这个组件应该放在哪个代码块里