配置代码片段问题 Invalid characters in string. Control characters must be escaped.
在使用代码片段时报错 Invalid characters in string. Control characters must be escaped.
" somethings", // space in font of ' somethings ' should : Spacebar instead Tabs
报错代码
"v1": {
"scope": "javascript,typescript",
"prefix": "v1",
"body": [
"Vue.config.productionTip = false;",
"new Vue({",
" el:'#root',",
" data:{",
" name:'百度',",
" }",
"})",
],
"description": "初始化vue"
}
解决代码
"v1": {
"scope": "javascript,typescript",
"prefix": "v1",
"body": [
"Vue.config.productionTip = false;",
"new Vue({",
" el:'#root',",
" data:{",
" name:'百度',",
" }",
"})",
],
"description": "初始化vue"
}
浙公网安备 33010602011771号