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'
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.
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" })