Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Prerequisites

React app template uses git for version control, so make sure it is installed on your system. Also package scripts are using yarn, so you’ll need it too.

To install yarn run npm i -g yarn.

Bootstrapping

Now lets try creating our first application. Open your terminal and run this command:

omg app create my-first-app

In this tutorial we will use a React app template. It is possible to develop applications using other technologies or just in plain js+html, but for simplicity we will focus on React in this tutorial.

Select ‘React app’ template when asked.

The omg utility will now download the template and bootstrap the app.

Lets run the app now:

yarn start

The app should start in a new browser window.

  • No labels