Closed productdevbook closed 3 years ago
I think I need to see more of the code, the plugin isn't really made to render via SSR since its programmatic, maybe check for process.client? did you try running this in the browser?
yes browser problem
used onMounted in code fixed.
onMounted(() => {
context.app.$toast.show({
type: 'danger',
title: 'Error',
message: 'Please specify an e-mail address',
})
})
@productfrontenddeveloper you just need to use this.$toast.show
and use mounted()
ssr: true, yarn build and yarn start problem
yarn dev some problem