vue-with-root I only made this to create a npm package. Real author of this is @LinusBorg ; you can find his jsfiddle here and the SO post where i found about it here.