vuetify2-component-types
Vuetify2 Component Types
This package includes generated global component types for Vuetify ~2.6.13 and Vue 2.7. This will give full intellisense to Volar when using these versions.
Instructions
- Install this package:
npm i vuetify2-component-types -D - Add this package to your tsconfig's
types:{ "compilerOptions": { "types": ["vuetify2-component-types"], } }, - Configure tsconfig's
vueCompilerOptionsfor proper Volar support:{ "vueCompilerOptions": { "target": 2.7, "experimentalModelPropName": { "input-value": { "v-checkbox": true, "v-switch": true, "v-chip": true, "v-btn": true, "v-list-item": true, "v-bottom-navigation": true }, "": { "input": true }, "value": { "input": { "type": "text" }, "textarea": true, "select": true } } }, }
Acknowledgements
Most of the credit goes to @kingyue737 who made the initial script here.
Version History
| Version | Released | License |
|---|---|---|
| 2.7.3 | MIT | |
| 2.7.2 | MIT | |
| 2.7.1 | MIT | |
| 2.7.0 | MIT | |
| 2.6.8 | MIT | |
| 2.6.7 | MIT | |
| 2.6.6 | MIT | |
| 2.6.5 | MIT | |
| 2.6.3 | MIT | |
| 2.6.2 | MIT | |
| 2.6.1 | MIT | |
| 2.6.0 | MIT |