我已经用Vue分叉了一个.NET Core项目,并在Visual Studio 2017中将其打开,然后下载了扩展名“ Vue.js Pack 2017”。
但是,在打开Vue组件后,我发现很多语法错误。看来Visual Studio试图将它们解析为XML?
错误示例:
Character '@', hexidemical value 0x40 is illegal in an XML Name.
Namespace prefix ':' is not defined.
XML document cannot contain multiple root level elements.
Only one tag allowed at root level
似乎与XML解析有关-如何禁用对.Vue
文件中的XML的检查?