@gigster/block-create-react-app
v2.0.1
Published
Role | Name | Email | Slack ---- | ---- | ----- | ----- *Product Owner* | Frances Haugen | [[email protected]](mailto:[email protected]) | [@frances] *Maintainer* | Casey Barbello | [[email protected]](mailto:[email protected]) | [@casey] *Maintainer*
Downloads
51
Readme
block-create-react-app
Role | Name | Email | Slack ---- | ---- | ----- | ----- Product Owner | Frances Haugen | [email protected] | [@frances] Maintainer | Casey Barbello | [email protected] | [@casey] Maintainer | Mark Miyashita | [email protected] | [@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/