Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.14 KB

File metadata and controls

42 lines (25 loc) · 1.14 KB

Directus React Example

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.

📌 Prerequisites

You will need to have the provided Directus project running first before proceeding with this example.

🚀 Getting Started

  1. Clone this repo.

  2. Install dependencies for this example.

    cd react
    npm install
  3. Create a .env file by copying the provided .env.example file.

  4. Start the development server.

    npm start

    Your Directus React example is now running at http://localhost:3000.

🔗 Links

Directus

React