block-create-react-app
Role | Name | Slack | |
---|---|---|---|
Product Owner | Frances Haugen | frances@gigster.com | [@frances] |
Maintainer | Casey Barbello | casey@gigster.com | [@casey] |
Maintainer | Mark Miyashita | mark.miyashita@gigster.com | [@mark] |
Overview
This block generates a simple React web app using create-react-app v1.5.1
as a boilerplate that we modify.
Usage
Add the following to your gig.yaml
to create a new block called web
using block-create-react-app
. Make sure to replace VERSION
with the specific version of the module. The latest version can be found here.
- name: web
location: 'npm:@gigster/block-create-react-app@VERSION'
After generating your project, you can cd
into the new web
directory. To start your app, simply run:
yarn install
yarn start
and you should see:
Compiled successfully!
You can now view web in the browser.
Local: http://localhost:3000/
On Your Network: http://10.0.2.52:3000/