Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
chore: update playground vueCompilerOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ModyQyW committed May 10, 2024
1 parent e273b9f commit e61ce43
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 18 deletions.
21 changes: 5 additions & 16 deletions playground/vue2.6/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,14 @@
"@uni-helper/uni-app-types"
],
"paths": {
"@/*": [
"./src/*"
]
"@/*": ["./src/*"]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
},
"vueCompilerOptions": {
"experimentalRuntimeMode": "runtime-uni-app",
"nativeTags": ["block", "component", "template", "slot"]
"nativeTags": ["block", "component", "template", "slot"],
"plugins": ["@uni-helper/uni-app-types/volar-plugin"]
},
"exclude": [
"node_modules",
"unpackage",
"dist",
"src/**/*.nvue"
]
"exclude": ["node_modules", "unpackage", "dist", "src/**/*.nvue"]
}
3 changes: 2 additions & 1 deletion playground/vue3.2/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
},
"vueCompilerOptions": {
"experimentalRuntimeMode": "runtime-uni-app",
"nativeTags": ["block", "component", "template", "slot"]
"nativeTags": ["block", "component", "template", "slot"],
"plugins": ["@uni-helper/uni-app-types/volar-plugin"]
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
}
3 changes: 2 additions & 1 deletion playground/vue3.3/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
},
"vueCompilerOptions": {
"experimentalRuntimeMode": "runtime-uni-app",
"nativeTags": ["block", "component", "template", "slot"]
"nativeTags": ["block", "component", "template", "slot"],
"plugins": ["@uni-helper/uni-app-types/volar-plugin"]
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
}

0 comments on commit e61ce43

Please sign in to comment.