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