refactor: use app.component
instead of mixin
for global component registration
#317
+66
−39
app.component
instead of mixin
for global component registration
#317