How to remove attributes from tags inside Vue components?

@Herteby good solution to get rid of the attributes during runtime, but it won’t really improve code size, since we now simly have a reference to the directive in the render function instead of a hardcoded attribute. One could come up with a little webpack-loader that cleans the template … Edit: …