Rename 'parent' to 'extends'.
Instead of 'mounted' use 'app' as parameter to mount.
Make context keyword parameters.
Separate prepared method.