rofrischmann/elodin

View on GitHub
examples/react/README.md

Summary

Maintainability
Test Coverage
# React Example

This example uses [React](https://reactjs.org) with [Next.js](https://nextjs.org) and [@elodin/generator-javascript](https://elodin.dev/docs/targets/javascript).

## Installation

```sh
# cloning the project and navigating to the example
git clone https://github.com/robinweser/elodin.git
cd elodin/examples/react

# installing all dependencies
yarn
```

## 1. Compiling Elodin

First let's run the elodin compiler.

```sh
# This starts the elodin compiler in watch mode
yarn elodin
```

## 2. Running the App

In another terminal, we can now run the actual React app.

```sh
yarn dev
```