Skip to content

Commit 116e37c

Browse files
author
Philipp
committed
Updated Readme for Nuxt.js instructions
1 parent ddc24b9 commit 116e37c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,23 @@
3737
Vue.use(Plugin);
3838
```
3939

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.
55+
56+
4057
## Usage - (or to make it runnable 🏃‍♂️)
4158

4259

0 commit comments

Comments
 (0)