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
Then within my pages/text.vue I added the alert message as per documentation:
this.$alert("Hello Vue Simple Alert.");
The message is displayed as a paragraph text on the Vue page rather than alert message.
I am not understanding whats wrong because I have used other packages similarly and everything worked well with them but same approach does not work for vue-simple-alert.
I am trying to add the
vue-simple-alert
package to myNuxt.js
application but it's not working at all. I have followed below steps:package.json
via commandnpm install vue-simple-alert --save
.alert.js
under the folderplugins
within my nuxt.js project and add following code:nuxt.config.js
:Then within my
pages/text.vue
I added the alert message as per documentation:The message is displayed as a paragraph text on the Vue page rather than alert message.
I am not understanding whats wrong because I have used other packages similarly and everything worked well with them but same approach does not work for
vue-simple-alert
.Reference documentation: https://www.npmjs.com/package/vue-simple-alert
The text was updated successfully, but these errors were encountered: