Unterminated string literal. 百度翻译一下: 未终止的字符串文本。 然后请教大佬,大佬说把反斜杠转义一下就OK了 下面是正确代码 <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="textarea"> </el-input> export default { data() { return { textarea: 'console.log("111111...
{"Unterminated string literal.": "未终止的字符串文本.","Identifier expected.": "应为标识符.","'{0}' expected.": "应为“{0}”.","A file cannot have a reference to itself.": "文件不能引用自身.","Travue2.0读书笔记2-进阶 一.深入响应式原理 二.过渡效果 三.过渡状态 四.Render函数 ...
fix: slot missing props don't report error fix: cannot assign generic component to components option of defineComponent fix: "TS1002: Unterminated string literal" in slots edge case (#2710) fix: generic component prop with default type incorrect (#2754)1.6.1 (2023/4/28)feat...
fix: "TS1002: Unterminated string literal" in slots edge case (#2710) fix: generic component prop with default type incorrect (#2754) v1.6.1 Compare Source feat: support for specify vue library name by vueCompilerOptions.lib option (#2722) fix: avoid <component :is> type check...
✖ unterminated regex literal 1│ function Button() { > 2 │ return Vue Button; │ 3│ } 4│ ℹ ...but the line ends here 1│ function Button() { > 2 │ return Vue Button; │ 3│ } 4│ ℹ a regex literal starts
fix: cannot assign generic component to components option of defineComponent fix: "TS1002: Unterminated string literal" in slots edge case (#2710) fix: generic component prop with default type incorrect (#2754)1.6.1 (2023/4/28)feat: support for specify vue library name by vueCompilerOptions....
The string should be used normally instead of prematurely ending the script block. What is actually happening? Error reported: Unterminated template literal.ts(1160) System Info No response Any additional comments? No response Contributor skirtles-code commented Oct 8, 2024 I think this might be...
If you add at anywhere inside script tag, although it's a string inside quotes, it will always close the script tag. ℹ️ See "Unterminated template literal" syntax error when literal contains script tagAbout 📜 Highlight.js syntax highlighter component for Vue. git.io/vue-highlight...
message: string, reportNode: JSONAST.JSONStringLiteral | YAMLAST.YAMLScalar, getReportOffset: GetReportOffset @@ -134,14 +134,16 @@ function create(context: RuleContext): RuleListener { if (messageSyntaxVersions.reportIfMissingSetting()) { return } if (messageSyntaxVersions.v9 && messageSy...