euvl / vue-js-modal

Easy to use, highly customizable Vue.js modal library.
http://vue-js-modal.yev.io
MIT License
4.35k stars 592 forks source link

Modals not showing up using nuxt in production env #729

Open uncikmarek opened 2 years ago

uncikmarek commented 2 years ago

Problem:

Modals are not showing up on nuxt when in production mode. It does work when running in dev env, but when I use build and then start it does not show up.

Version: 2.0.1

Example & screenshots:

Here is code:

plugins/vue-js-modal.js: ` import Vue from 'vue' import VModal from 'vue-js-modal'

Vue.use(VModal, { dialog: true}) `

config: plugins: [ { src: '~plugins/vue-js-modal.js', mode: 'client'} ],

component: this.$modal.show('dialog', { title: "Title", text: "Text" })

I have checked stackoverflow for solutions and 100% sure that this issue is not not related to my code.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.