Preparing the project
First, you need to prepare your project. To do this, follow the steps below:
-
Create a
dcloud_example
directory. -
Open the console (terminal) and make the path to
dcloud_example
folder as a home directory. -
Clone the
tssdkExamples
repository:git clone https://github.com/thepower/tssdkExamples.git
infoThis repository contains all the files you'll need to work with in the next sections.
-
Add
tssdk
library to the project by running the following command:- npm
- Yarn
- pnpm
npm install @thepowereco/tssdk
yarn add @thepowereco/tssdk
pnpm add @thepowereco/tssdk