Open MicroDreamIT opened 5 years ago
add tag client-only
@dikymury can you please explain more detail?
@MicroDreamIT you will have to conditionally require the lib too, instead of
import Paginate from 'vuejs-paginate'
use
const Paginate = process.client ? require('vuejs-paginate') : undefined
@MicroDreamIT import the library like this:
import Paginate from 'vuejs-paginate/src/components/Paginate'
Do not use client-only.
@MicroDreamIT import the library like this:
import Paginate from 'vuejs-paginate/src/components/Paginate'
Do not use client-only.
could you elaborate?
add tag client-only
I made the same, helped. But strange that in plugins scope in Nuxt config I used client mode, and this is doesn't help before,
it has to be capable of ssr and nuxtjs as well.