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
Hey, unfortunately there now docs available but its very easy to implement.
First, you add this component using your favorite package manager.
I tend to use yarn so I ran yarn add vue-particles --dev.
Then you need to create a file under projectroot/plugins I called mine vue-particles.js and it looks like this
After that you need to register the plugin, it is important to turn off SSR for this component since it isn't compatible with it for me.
So go inside nuxt.config.js and register the plugin. This is how my one looks like:
/* ** Plugins to load before mounting the App */plugins: ['@/plugins/element-ui',{src: '@/plugins/vue-particles',ssr: false}],
Then u can use it like any other component in your pages.
Example:
Im having hard to play any documentation?
The text was updated successfully, but these errors were encountered: