Skip to content

vm data not initialised in firebase function #66

Closed
@posva

Description

@posva

As pointed out in #63
When using the function syntax:

data: {
  user: 'posva'
},
firebase () {
  return {
    someRef: db.ref('users/' + this.user) // this.user === undefined
  }
}

user should not be undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions