Skip to content

TypeError: Cannot read property 'style' of null #208

@mandixx

Description

@mandixx

For some reason I end up with this error which is strange

Here is how I register the Toasts in the main,js file

/**
 * TOASTS
 */
// register the plugin on vue
import Toasted from 'vue-toasted';
Vue.use(Toasted);

Here is how I use it in my component

mounted() {

    this.$toasted.show('test', {class: "test"});
    this.fetchProjects();
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions