Cannot read property 'attributes' of undefined
Nuxt