Skip to content

Commit 05223dd

Browse files
committed
Update Vue plugin docs to pass Vue object to plugin
1 parent daeb056 commit 05223dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/integrations/vue.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ In your main application file, import and configure both Raven.js and the Raven.
5656

5757
.. code-block:: js
5858
59+
import Vue from 'vue';
5960
import Raven from 'raven-js';
6061
import RavenVue from 'raven-js/plugins/vue';
6162
6263
Raven
6364
.config('___PUBLIC_DSN___')
64-
.addPlugin(RavenVue)
65+
.addPlugin(RavenVue, Vue)
6566
.install();

0 commit comments

Comments
 (0)