Open
Description
For me it just formats my window in red with the Questionmark and then just prints the JSON contents like this:
{body: 'My Notification Body',
title: 'Notification Title',config: {}}
Full Code:
export default {
template: '#controls',
methods: {
displayNotification() {
this.$snotify.error(
{
body: 'My Notification Body',
title: 'Notification Title',
config: {}
});
},
I use Snotify in the main.js file like this:
import Snotify from 'vue-snotify';
Vue.use(Argon);
Vue.use(Vuex);
Vue.use(VueHighlightJS, {
languages: {
javascript
}
});
Vue.use(Snotify)
Vue.config.productionTip = false;
Anybody has an idea why it does not render the values of body and title keys?
Metadata
Metadata
Assignees
Labels
No labels