vue-remove-attributes

JSON →
library 1.0.3 ·javascript
verified May 1, 2026

vue-remove-attributes 1.0.3 is a Vue template compiler module that removes unwanted attributes (e.g., data-testid) from Vue single-file component templates at build time. It integrates with vue-loader via compilerOptions and supports matching attributes by string, array, or regex. Heavily dependent on vue-template-compiler (or @vue/compiler-sfc for Vue 3), it is best suited for Vue 2 projects using Webpack, similar to babel-plugin-jsx-remove-data-test-id but for Vue templates. Currently stable with low release cadence and limited community adoption.

total hits 12
actors 3 distinct systems
last hit 3d ago AhrefsBot
GPTBot
5
MetaBot
3
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada