You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running nuxt with the command npm run dev and when I refresh the page sometimes I see that there is what I expect and other times the values don't make sense. For example if I have some articles in the content directory and I am on article b.md. I would expect for prev to see a.md and for next c.md. This occasionally occurs but other times you might see d.md for the next value and I don't understand why there is this inconsistency.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using
findSurround
and I keep getting back strange[prev, next]
values that don't make any sense.I have the following code
I am running nuxt with the command
npm run dev
and when I refresh the page sometimes I see that there is what I expect and other times the values don't make sense. For example if I have some articles in the content directory and I am on articleb.md
. I would expect forprev
to seea.md
and for nextc.md
. This occasionally occurs but other times you might seed.md
for the next value and I don't understand why there is this inconsistency.a.md
b.md
c.md
d.md
Beta Was this translation helpful? Give feedback.
All reactions