You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,23 @@
37
37
Vue.use(Plugin);
38
38
```
39
39
40
+
### (3: Only for Nuxt.js users)
41
+
>Thanks to [@skoulix](https://github.com/avidofood/vue-responsive-video-background-player/issues/8#issuecomment-654821213) for his instructions:
42
+
43
+
Again this is only for Nuxt.js users. Gridsome users click [here](https://gridsome.org/docs/assets-scripts/#without-ssr-support). At your `nuxt.config.js` locate the part where you declare your plugins and import the file. Example:
44
+
45
+
```
46
+
plugins: [
47
+
{
48
+
src: '~/plugins/vue-video-background',
49
+
ssr: false
50
+
}
51
+
]
52
+
```
53
+
54
+
Now the component is globally available and can be used at any .vue file without issues.
0 commit comments