Files
portal-webapp/portal_client/README.md
T
2018-07-07 20:43:51 -05:00

13 lines
691 B
Markdown

Portal Client
==
The portal_client contains all the client side html, javascript, and css files that will be presented to the user
Yarn
======
Yarn is the the new package manager used with node.js in replacement of `npm` it uses the same package.json file.
To download a new client side library use the command `yarn add <package_name> --save` This will add the files to the `node_modules` library.
Next include the appropriate file into the `assets.js` file inside `portal_client` to make sure it will be injected into the `index.html` file during run time.
The `assets.js` file specifies all the vendor libraries that have to be included into the client code during build.