How to use vanilla JS library with Nuxt?
[issue link]Hello. Find very hard to make some vanilla js libs work with Nuxt.
Now struggling with this https://atomiks.github.io/tippyjs/
Can somebody help me?
This is not working
if (process.browser) {
require('tippy.js')
}
export default {
mounted () {
tippy('.btn')
}
}
A couple other options doesn’t work too. How to make this awesome library make work with Nuxt? It’s working with non SSR Vue app like a charm.