From 053c127c528388907b4f836be6af711ed66ac70c Mon Sep 17 00:00:00 2001 From: Luke Belton <58511679+luke-belton@users.noreply.github.com> Date: Tue, 15 Mar 2022 09:04:41 +0000 Subject: [PATCH 1/2] update React example readme --- examples/js/react/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/examples/js/react/README.md b/examples/js/react/README.md index 705ef6ddb..82df9deba 100644 --- a/examples/js/react/README.md +++ b/examples/js/react/README.md @@ -29,10 +29,17 @@ __Note__: remember to replace `YOUR_API_KEY` in `src/lib/bugsnag.js` with your o ### Without docker -Ensure you have a version of Node.js >=4 on your machine. +To create an optimized production build, ensure you have a version of Node.js >=4 on your machine: ``` npm install npm run serve ``` + +or alternatively, to run a development server that automatically reloads the page when you make changes to the code:0 + +``` +npm install +npm start +``` __Note__: remember to replace `YOUR_API_KEY` in `src/index.js` with your own! From c179b51b6d55dd2deb3fef6b5328a1fb5f4fdd56 Mon Sep 17 00:00:00 2001 From: Luke Belton <58511679+luke-belton@users.noreply.github.com> Date: Wed, 3 Aug 2022 14:57:30 +0100 Subject: [PATCH 2/2] Remove `0` typo --- examples/js/react/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/js/react/README.md b/examples/js/react/README.md index 82df9deba..07b10dbc6 100644 --- a/examples/js/react/README.md +++ b/examples/js/react/README.md @@ -36,7 +36,7 @@ npm install npm run serve ``` -or alternatively, to run a development server that automatically reloads the page when you make changes to the code:0 +or alternatively, to run a development server that automatically reloads the page when you make changes to the code: ``` npm install