Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with NuxtJS Pages #26

Open
kpdemetriou opened this issue Dec 9, 2018 · 5 comments
Open

Issue with NuxtJS Pages #26

kpdemetriou opened this issue Dec 9, 2018 · 5 comments

Comments

@kpdemetriou
Copy link

kpdemetriou commented Dec 9, 2018

When creating a page (i.e. a component under the pages directory) in NuxtJS, this is undefined in data() when the component is an observer.

@kuitos
Copy link
Member

kuitos commented Dec 10, 2018

Could you please provide a minimal codesandbox reproduction?

@kuitos
Copy link
Member

kuitos commented Dec 20, 2018

could you pls provide some code example? @kpdemetriou

@kpdemetriou
Copy link
Author

@kuitos
Copy link
Member

kuitos commented Dec 25, 2018

How to reproduce the error? @kpdemetriou

@kpdemetriou
Copy link
Author

kpdemetriou commented Dec 25, 2018

The link I sent demonstrates that this is undefined in the data of NuxtJS pages on the client side. In Vue, this should always be available and populated.

You should see the h1 changing from false to true. No further action is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants