解决办法如下:
项目根目录新建.prettierrc
文件,输入以下内容保存并重启vscode即可
overrides:
- files: '*.html'
options:
parser: 'html'
标签:Unexpected,Parsing,token,html,error,根目录
From: https://www.cnblogs.com/lwlblog/p/16870541.html
解决办法如下:
项目根目录新建.prettierrc
文件,输入以下内容保存并重启vscode即可
overrides:
- files: '*.html'
options:
parser: 'html'
标签:Unexpected,Parsing,token,html,error,根目录
From: https://www.cnblogs.com/lwlblog/p/16870541.html