Open kpdemetriou opened 5 years ago
Could you please provide a minimal codesandbox reproduction?
could you pls provide some code example? @kpdemetriou
How to reproduce the error? @kpdemetriou
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.
When creating a page (i.e. a component under the
pages
directory) in NuxtJS,this
isundefined
indata()
when the component is anobserver
.