You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -305,7 +310,9 @@ work the same, but just generate different skeleton components.
305
310
306
311
Using the Rails `webpacker` gem you can easily add other NPM (node package manager) assets to your Hyperstack application. This allows your Hyperstack components to use any of the thousands of existing React component libraries, as well as packages like jQuery.
307
312
308
-
> Note that you will need to have yarn installed: [Install Instructions](https://yarnpkg.com/en/docs/install#mac-stable)
313
+
> Note that you will need to have yarn and nodejs installed:
For details on how to import and use NPM packages in your application see [Importing React Components](https://hyperstack.org/edge/docs/dsl-client/components#javascript-components)
311
318
@@ -322,12 +329,13 @@ This will do the following:
322
329
323
330
These steps are explained in detailed below.
324
331
325
-
#### Yarn
332
+
#### Yarn and Node
326
333
327
334
Yarn is an NPM package manager. Its role is similar to bundler in the Ruby world. Like bundler it uses a `.lock` file to track the current set of dependencies. Unlike
328
-
bundler there is no equivilent of the `Gem` file. Instead you add packages directly into the yarn data base by running `yarn add` commands.
335
+
bundler there is no equivilent of the `Gem` file. Instead you add packages directly into the yarn data base by running `yarn add` commands. Yarn also depends on NodeJS so you will need to install that if you have not already.
329
336
330
-
Yarn can be installed following these instructions: [Install Instructions](https://yarnpkg.com/en/docs/install#mac-stable)
337
+
Yarn can be installed following these instructions: [Install Instructions](https://yarnpkg.com/en/docs/install#mac-stable)
338
+
Node can be installed following these instructions: [Node Install Instructions](https://nodejs.org)
0 commit comments