Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.19 KB

readme.md

File metadata and controls

49 lines (30 loc) · 1.19 KB

Integrate React with Dojo: A Quick Start Guide

Dive into this straightforward example to understand how to meld React with Dojo.

This integration taps into the powerful libraries designed by Lattice:

Initial Setup

The repository already contains the dojo-starter as a submodule. Feel free to remove it if you prefer.

Prerequisites: First and foremost, ensure that Dojo is installed on your system. If it isn't, you can easily get it set up with:

curl -L https://install.dojoengine.org | bash

Followed by:

dojoup    

For an in-depth setup guide, consult the Dojo book.

Launch the Example in Under 30 Seconds

After cloning the project, execute the following:

  1. Terminal 1:
cd dojo-starter && katana --disable-fee
  1. Terminal 2:
cd dojo-starter && sozo build && sozo migrate
  1. Terminal 3:
cd client && yarn && yarn dev

Upon completion, launch your browser and navigate to http://localhost:5173/. You'll be greeted by the running example!