For most of the following examples in this section, we will be assuming that the guides on each page are implemented as separate functions and files under a single project directory. To set up your project, follow the steps below.
Create Directory
First, we need to create a directory to store our project files.
Initialize Project
Next, we need to initialize our project.
Install InitiaJS
Now we need to install InitiaJS.
Test Installation
Once we have installed InitiaJS, we can test our installation. First, we will replace the contents of src/quickstart.ts
with the following code.
Next, we will run the script.
If you get initiation-2
as the output, then your installation was successful!
For most of the following examples in this section, we will be assuming that the guides on each page are implemented as separate functions and files under a single project directory. To set up your project, follow the steps below.
Create Directory
First, we need to create a directory to store our project files.
Initialize Project
Next, we need to initialize our project.
Install InitiaJS
Now we need to install InitiaJS.
Test Installation
Once we have installed InitiaJS, we can test our installation. First, we will replace the contents of src/quickstart.ts
with the following code.
Next, we will run the script.
If you get initiation-2
as the output, then your installation was successful!