Vue Typeerror Is Not A Function