Home

Issue: 1946

Nuxt plugin is called 16 times ? (I wanna do X stuff on each page load Client Side)

[issue link]

Hello,

I was developing my first plugin that is noty wrapper.

But i noticed that my mixing are called 16 times ?

So i created a test plugin.

import Vue from 'vue'

const Test = {
  install: (Vue, options) => {
    Vue.mixin({
      mounted () {
        console.log('called');
      }
    })
  }
}

Vue.use(Test)

I got called 16 times + 1into my console. (chrome)

what could cause this ?

This question is available on Nuxt.js community (#c1737)