1. 在修改完子组件后提交保存出错,将子组件内容删为空白后提交不显示报错,错误如下
8:1 error Trailing spaces not allowed no-trailing-spaces
10:10 error Newline required at end of file but not found eol-last
这一情况请重新部署,在vscode里面按ctrl+c中止操作,再输入npm run serve重新部署
2.
注意再路径前面又空格,同时注意缩进
3. 这一步时从b站老哥那里学来的,这里如果保存,将元素写进一行中