Provet Could Web Component Vue Types
This package contains auto-generated TypeScript types for the Web Components found in @provetcloud/web-components
when used in Vue projects. It allows you to get IntelliSense for Provet Cloud web components in templates of Vue Single-File Components. Both in TypeScript and JavaScript projects.
A TypeScript definition file is generated and written to lib/index.d.ts
.
The following are commands available:
pnpm build
- Generates the TypeScript definition file.
Usage
Install @provetcloud/web-components
as you normally would, along with this @provetcloud/types
. Then add the following to your tsconfig.json
file:
{
"compilerOptions": {
"types": ["@provetcloud/types"]
}
}
Now you should get full type support for Nord components in your Vue project. Including IntelliSense for Nord components in templates of Vue Single-File Components.
License
See license in LICENSE.md
Copyright
Copyright © 2024 Nordhealth Ltd.