Add some docs for using the packages from browsers (#1355)

This commit is contained in:
Andrew Stanton-Nurse 2018-01-25 14:53:54 -08:00 committed by GitHub
parent 95d8ec8fdc
commit 33d391349a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -35,7 +35,11 @@ We also have a MsgPack protocol library which is installed via:
```bash
npm install @aspnet/signalr-protocol-msgpack
```
```
## Deploying
Once you've installed the NPM modules, they will be located in the `node_modules/@aspnet/signalr` and `node_modules/@aspnet/signalr-protocol-msgpack` folders. If you are building a NodeJS application or using an ECMAScript module loader/bundler (such as [webpack](https://webpack.js.org)), you can load them directly. If you are building a browser application without using a module bundler, you can find UMD-compatible bundles in the `dist/browser` folder; minified versions are provided as well. Simply copy these to your project as appropriate and use a build task to keep them up-to-date.
## Building from source