From c4a88ef8e479b3d1e5fce97cf0363eb1076b5454 Mon Sep 17 00:00:00 2001 From: Ben Lachman Date: Mon, 3 Feb 2020 00:14:30 -0500 Subject: [PATCH 1/2] Add jQuery to relevant packages If you don't install jQuery, the application won't load (at least in Webkit browsers). --- content/react/step08.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/react/step08.md b/content/react/step08.md index 75a955c..ab852d6 100644 --- a/content/react/step08.md +++ b/content/react/step08.md @@ -9,7 +9,13 @@ Meteor comes with an accounts system and a drop-in login user interface that let To enable the accounts system and UI, we need to add the relevant packages. In your app directory, run the following command: ```bash -meteor add accounts-ui accounts-password +meteor add accounts-ui accounts-password jquery +``` + +For jQuery, you'll also need to install the npm package: + +```bash +meteor npm install jquery ``` ### Wrapping a Blaze component in React From de2d5ddf80708ad13f191c23d0738ae5279ec0df Mon Sep 17 00:00:00 2001 From: Ben Lachman Date: Mon, 3 Feb 2020 00:50:30 -0500 Subject: [PATCH 2/2] Add --save to npm install --- content/react/step08.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/react/step08.md b/content/react/step08.md index ab852d6..0f4efa7 100644 --- a/content/react/step08.md +++ b/content/react/step08.md @@ -15,7 +15,7 @@ meteor add accounts-ui accounts-password jquery For jQuery, you'll also need to install the npm package: ```bash -meteor npm install jquery +meteor npm install --save jquery ``` ### Wrapping a Blaze component in React