description |
---|
How to install `@vechain/dapp-kit-ui` in order to use it with TypeScript or Javascript. |
If using TypeScript follow the NPM installation steps, for JavaScript follow the CommonJS (CJS) installation steps.
{% hint style="info" %} Should you wish to implement this in a pure JavaScript project, it is recommended to use CommonJS (CJS) imports. Potential complications might arise with ES Module (ESM) imports. {% endhint %}
npm i @vechain/dapp-kit-ui @vechain/dapp-kit
Upon installation, you may utilize the subsequent code snippet to verify the proper functioning within your TypeScript project:
import { DAppKitUI } from '@vechain/dapp-kit-ui';