Skip to content

Commit

Permalink
fix: default dev option to true to prevent breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed Feb 17, 2019
1 parent 87036cf commit 860a27c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Differences between vue-analytics and the Nuxt.js implementation:

- The router instance is already added out of the box (read [here](https://github.com/MatteoGabriele/vue-analytics/blob/master/docs/page-tracking.md#disable-page-auto-tracking) if you need to disable it)
- The `id` and `ua` properties have the exact same behaviour. The `ua` property has been added for backwards compatibily with previous releases
- You can enable module for development by setting `dev: true` option in module options
- You can disable module for `nuxt dev` by setting `dev: false` option in module options

## Development

Expand Down
2 changes: 1 addition & 1 deletion lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { resolve } = require('path')

function analyticsModule(moduleOptions) {
const options = {
dev: false,
dev: true,
debug: {
sendHitTask: undefined
},
Expand Down

0 comments on commit 860a27c

Please sign in to comment.