This example shows how to build the Hashgraph SDK library as a standalone js. This is a temporary workaround, waiting for the same feature to be added to the official sdk.
npm install
npm run build:lib
Get and use the generated dist/assets/hedera-sdk-js-bundle.umd.min.js
file. See public/example-lib.html
for an example.
npm run build
Get and use the generated dist/assets/hedera-sdk-js-bundle.js
file. See public/example.html
for an example.
npm run preview
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).