Closed frossigneux closed 2 years ago
With Nuxt, using from a component or from a plugin, I get CustomEvent is not defined in the file _nodemodules/vue-directive-long-press/dist/index.js.
CustomEvent is not defined
Seems that using
plugins: [ { src: '~/plugins/vue-long-press.js', mode: 'client' }, ],
in nuxt.config.js fix the issue.
With Nuxt, using from a component or from a plugin, I get
CustomEvent is not defined
in the file _nodemodules/vue-directive-long-press/dist/index.js.