This is a React 17 project bootstrapped with create-react-app
.
Note: CRACO is added in order to import the shared stylesheet that is not in this directory. CRACO
7.0.0-alpha.0
is used to work with CRA 5.*, see this issue.
You will need to have the provided Directus project running first before proceeding with this example.
-
Clone this repo.
-
Install dependencies for this example.
cd react npm install
-
Create a
.env
file by copying the provided.env.example
file. -
Start the development server.
npm start
Your Directus React example is now running at http://localhost:3000.