/
vue-tsconfig.schema.json
94 lines (94 loc) · 2.75 KB
/
vue-tsconfig.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"properties": {
"vueCompilerOptions": {
"type": "object",
"properties": {
"target": {
"type": "number",
"default": 3,
"anyOf": [
{
"enum": [
2,
2.7,
3
]
}
],
"markdownDescription": "Target version of Vue."
},
"jsxTemplates": {
"type": "boolean",
"default": false,
"markdownDescription": "Whether to compile template to JSX. (Generics component type checking only working with JSX)"
},
"strictTemplates": {
"type": "boolean",
"default": false,
"markdownDescription": "Strict props, component type-checking in templates."
},
"skipTemplateCodegen": {
"type": "boolean",
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/577"
},
"dataAttributes": {
"type": "array",
"default": ["data-*"],
"markdownDescription": "A glob matcher array that should always avoid recognized as HTML Attributes and Component props."
},
"htmlAttributes": {
"type": "array",
"default": ["aria-*"],
"markdownDescription": "A glob matcher array that should always be recognizing as HTML Attributes rather than Component props. Attribute name will never convert to camelize case."
},
"plugins": {
"type": "array",
"default": [],
"markdownDescription": "Plugins to be used in the SFC compiler."
},
"optionsWrapper": {
"type": "array",
"default": [
"(await import('vue')).defineComponent(",
")"
],
"markdownDescription": "How to wrap option of `export default { ... }`? Default: `[\"(await import('vue')).default.extend(\", \")\"]` for target < 2.7, `[\"(await import('vue')).defineComponent(\", \")\"]` for target >= 2.7."
},
"narrowingTypesInInlineHandlers": {
"type": "boolean",
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/1249"
},
"bypassDefineComponentToExposePropsAndEmitsForJsScriptSetupComponents": {
"type": "boolean",
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/1192"
},
"experimentalRuntimeMode": {
"type": "string",
"default": "runtime-dom",
"anyOf": [
{
"enum": [
"runtime-dom",
"runtime-uni-app"
]
}
],
"markdownDescription": "Run app in browser or uni-app"
},
"experimentalResolveStyleCssClasses": {
"enum": [
"scoped",
"always",
"never"
],
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/1038, https://github.com/johnsoncodehk/volar/issues/1121"
},
"experimentalRfc436": {
"type": "boolean",
"default": false,
"markdownDescription": "https://github.com/vuejs/rfcs/discussions/436"
}
}
}
}
}