Nord Vue Integration
This package contains auto-generated TypeScript types for the Web Components found in @nordhealth/components
when used in Vue projects. It allows you to get IntelliSense for Nord 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:
npm run build
- Generates the TypeScript definition file.
Usage
Install @nordhealth/components
as you normally would, along with this @nordhealth/vue
. Then add the following to your tsconfig.json
file:
{
"compilerOptions": {
"types": ["@nordhealth/vue"]
}
}
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 © 2023 Nordhealth Ltd.