Skip to content

Trying to access non-existent property **** while rendering. #269

Closed
@FKobus

Description

@FKobus

Hi,

I'm trying to get Vuex working with the new Vue.js 2.0.0 build. But when I'm running the counter example I keep getting the following errors after building the code with webpack:

vue.common.js:2232[Vue warn]: Trying to access non-existent property "count" while rendering. Make sure to declare reactive data properties in the data option. (found in component <Counter>)
The same error occurs for: increment, decrement, incrementIfOdd, incrementAsync

It seems that vuex is not working as expected... I can upload my code to a github repo if needed

I'm using:
"vue": "^2.0.0-beta.6",
"vuex": "^2.0.0-rc.4",

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