Skip to content

Commit 70cecf8

Browse files
patinthehatPatrick
authored andcommitted
update changelog, add host, port options to readme
1 parent 9f3fe6b commit 70cecf8

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to `permafrost-dev/vue-ray` will be documented in this file.
44

55
---
66

7+
## 1.6.1 - 2021-02-11
8+
9+
- allow specifying the host to connect to as `options.host`
10+
11+
- allow specifying the port to connect to as `options.port`
12+
713
## 1.6.0 - 2021-02-11
814

915
- add `this.$ray().data()` to show component data

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const { RayPlugin } = require('vue-ray/vue3');
4545

4646
const app = createApp(App);
4747

48-
app.use(RayPlugin, { interceptErrors: true });
48+
app.use(RayPlugin, { interceptErrors: true, host: '127.0.0.1', port: 23500 });
4949
```
5050

5151
### Installing in Vue 2
@@ -61,14 +61,16 @@ import RayPlugin from 'vue-ray/vue2';
6161
// or as a commonjs import:
6262
const { RayPlugin } = require('vue-ray/vue2');
6363

64-
Vue.use(RayPlugin, { interceptErrors: true });
64+
Vue.use(RayPlugin, { interceptErrors: true, host: '127.0.0.1', port: 23500 });
6565
```
6666

6767
### Installation options
6868

6969
| Name | Type | Default | Description |
7070
| --- | --- | --- | --- |
71+
| `host` | `string` | `localhost` | host to connect to the Ray app on |
7172
| `interceptErrors` | `boolean` | `false` | send Vue errors to Ray |
73+
| `port` | `number` | `23517` | port to connect to the Ray app on |
7274

7375
## Usage
7476

0 commit comments

Comments
 (0)