Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kingyue/vuetify2-component-types

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kingyue/vuetify2-component-types

Component types for Volar intellisense with Vuetify 2 and Vue 2.7

  • 2.7.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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 @kingyue/vuetify2-component-types -D
  2. Add this package to your tsconfig's types:
    {
      "compilerOptions": {
        "types": ["@kingyue/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.

FAQs

Package last updated on 26 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc