Open scottxtensive opened 2 years ago
Update: looks like it's either been a temporary issue or it's explicitly requiring a trailing slash - /custom/ - Not been an issue before so perhaps documentation could be updated if this is now required.
We are having the same issue with webpages loading indefinitely, but for us it is happening on default pages.
stencil --version 5.2.0
Node version 14.19.3
NPM version 6.14.17
OS: Windows 10
Update: looks like it's either been a temporary issue or it's explicitly requiring a trailing slash - /custom/ - Not been an issue before so perhaps documentation could be updated if this is now required.
https://github.com/bigcommerce/stencil-cli/pull/1000 fixed this for me
Expected behavior
If you add a customLayout page template to your theme, it should load the page locally. E.g:
Actual behavior
Page just loads indefinitely. On the console it does state an upcoming get request, but nothing ever loads.
Steps to reproduce behavior
Add a custom page template to templates -> custom -> page -> custom.html and add the config to map it above.
I do see there is a new Pages V3 api which could be related.
If you try load a page that doesn't exist, the 404 page will load normally.
Environment
Stencil-cli version
stencil --version
: 6.14.17Node version
node -v
: v14.19.3NPM version
npm -v
: 6.14.17OS: Mac 12.5.1 Ventura M1.