@gigster/block-create-react-app

2.0.1 • Public • Published

block-create-react-app

Role Name Email 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/

Dependencies (5)

Dev Dependencies (1)

Package Sidebar

Install

npm i @gigster/block-create-react-app

Weekly Downloads

1

Version

2.0.1

License

UNLICENSED

Unpacked Size

11.9 kB

Total Files

30

Last publish

Collaborators