2.7.2 • Published 1 year ago

vuetify2-component-types v2.7.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.

npm

Instructions

  1. Install this package: npm i vuetify2-component-types -D
  2. Add this package to your tsconfig's types:
    {
      "compilerOptions": {
        "types": ["vuetify2-component-types"],
      }
    },
  3. Configure tsconfig's vueCompilerOptions for 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.

2.7.2

1 year ago

2.7.1

1 year ago

2.7.0

2 years ago

2.6.3

2 years ago

2.6.5

2 years ago

2.6.7

2 years ago

2.6.6

2 years ago

2.6.8

2 years ago

2.6.2

2 years ago

2.6.1

2 years ago

2.6.0

2 years ago