Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
teye committed Aug 6, 2021
1 parent 3f51709 commit 81255f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/webpack/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example will demonstrate how to use the **webpack variant** of ZilliqaJS in
The webpack variant comes in a `zilliqa.min.js` file and is meant for users who wishes to use ZilliqaJS functions in traditional HTML. Users need to build the webpack variant and import the js file in the HTML.

## Note: Frontend Framework Users
If you are using a frontend framework such as React, Vue, AngularJS, etc, we strongly recommend you to use our **node version** instead of the webpack variant as the schematic is easier to work with. Skip to the [main readme](../../../README.md#Installation) for the node examples. If you are still interested in using the webpack variant, continue below.
If you are using a frontend framework such as React, Vue, AngularJS, etc, we **strongly recommend you to use our node version** instead of the webpack variant as the schematic is easier to work with. Skip to the [main readme](../../../README.md#Installation) for the node examples. If you are still interested in using the webpack variant, continue below.

## How to get started

Expand All @@ -26,6 +26,7 @@ yarn start


You should see a sample project that looks like this:
![image](https://user-images.githubusercontent.com/6906654/128447864-54f5e5ab-f7c3-464f-b829-85cf3b874ca9.png)


Try it by clicking on the 'Send Payment' button!
Expand Down Expand Up @@ -58,4 +59,4 @@ In the `examples/webpack/react`, open `index.html`:

In the above HTML, we import our minified `zilliqa.min.js`. This must be imported first before other Javascript files so that the other Javascript files can access ZilliqaJS sdk functions.

Next, we import `index.js` and `load-keystore-demo.js`. These two files contain example of acessing the `zilliqa.min.js` functions.
Next, we import `index.js` and `load-keystore-demo.js`. These two files contain example of acessing the `zilliqa.min.js` functions.

0 comments on commit 81255f9

Please sign in to comment.