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
{{ message }}
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
A plugin sounds cleaner, but as a temporary fix, here is how I implemented it in NuxtJS v2.11.0.
In layouts/default.vue, I added the following (I have a single layout, but you could do it in every layout):
A plugin sounds cleaner, but as a temporary fix, here is how I implemented it in NuxtJS v2.11.0.
In layouts/default.vue, I added the following (I have a single layout, but you could do it in every layout):
I am trying to add this library to nuxt js.
What I have now is a file under plugins/fastclick.js
which i use to import that one in my nuxt config using
but the result is I am getting
ReferenceError: navigator is not defined
errorI tried to provide the file using webpack.ProvidePlugin
The text was updated successfully, but these errors were encountered: