https://github.com/iskanderbroere/removedatatestids
testattribute in .nuxt/)data-test attribute is expected to be removed in both, but is only removed in the server bundle
https://forum.vuejs.org/t/how-to-remove-attributes-from-tags-inside-vue-components/24138/11
Data test (id) attribute is removed in client bundle/
The attributes remain on the element.
babel extend build preTransformNode
No bug but a question :man_shrugging:
However, there u go https://github.com/iskanderbroere/removedatatestids/pull/1
thanks for the explanation!
build.loaders? i think it would be nice to document this behavior.this issue only happens in nuxt >2.4, when i revert to 2.3.4 it works as i had initially expected it to.
https://github.com/iskanderbroere/removedatatestids/tree/nuxt2.3
can we document this change or fix it?
please re-open @manniL
does this mean nuxtjs.org/api/configuration-build#loaders-in-extend is incorrect?
Not necessarily, but it's easier now via build.loaders.vue
cc @clarkdo, maybe you know what's going wrong between v2.3 and v2.4 here :relaxed:
I鈥檒l have a look tmr.
Thanks for the effort guys
Most helpful comment
I鈥檒l have a look tmr.