gridsome.org
gridsome.org copied to clipboard
Starters 404 page js errors
Moved from: https://github.com/gridsome/gridsome/issues/799
Description
Javascript error on starters 404 page.
this.$page is null"
and
t.$page is null
Steps to reproduce
https://gridsome.org/starters/fsdqs, check the console
This comment may aid diagnosis: https://github.com/gridsome/gridsome/issues/799#issuecomment-551059235
Can't reproduce on current master. Public page does have the issue tho.
I got the same problem, I think it has something to do with 404 on routes that have a routing template.
I have the following configured : templates: { ServiceGroup: '/:slug', },
I got the same error on a url like "mywebsite.com/dfsjgknfsgnfjs" but the error goes away if I change the template to /services/:slug. But then will still have errors on "/services/dfsjgknfsgnfjs".