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
When a custom page is created, you can test it locally, with the corresponding url
Actual behavior
After a custom page is created, the corresponding url keeps showing the default "template layout file" on localhost.
Steps to reproduce behavior
Create a custom directory and a new html file, following the docs guidelines. pages>custom>page>customPage.html . Leave this file empty for demonstration purposes.
@cginerorienteed I hope you have created a custom directory inside the templates/pages directory. Inside it, you created the page directory, and then inside the page directory, you created the customPage.html file.
So it should be like templates/pages/custom/page/customPage.html.
Expected behavior
When a custom page is created, you can test it locally, with the corresponding url
Actual behavior
After a custom page is created, the corresponding url keeps showing the default "template layout file" on localhost.
Steps to reproduce behavior
Create a custom directory and a new html file, following the docs guidelines. pages>custom>page>customPage.html . Leave this file empty for demonstration purposes.
Add new keys to the config.sencil.json :
Make sure you have created a new page with the matching url on the admin panel.
Restart the server with -> stencil start.
Go to https://localhost:3000/customPage/ to see if the changes are applied. You should see a blank page as there is nothing on the empty file.
Environment
Stencil-cli version
stencil --version
: 5.3.3Node version
node -v
: 14.20.0NPM version
npm -v
: 6.14.17OS: windows
The text was updated successfully, but these errors were encountered: