Once your project is setup, you need to add pages, you will be working on, to it.
From the command line type:
yo chisel:page "Page Name"
yo chisel:page "Home"
You can also create multiple pages at once by separating page names with space:
yo chisel:page "Home" "About Us" "Contact Us" "News"
When you add a page on WordPress project:
- Twig template is automatically created in
- Page is accessible at
- If you haven’t before, flush the rewrite rules Settings -> Permalinks -> Save changes
When you add a page on front-end templates project, the project index is regenerated and the page is added to it.
On the front-end templates project you can remove pages by deleting them from
.yo-rc.json and running
yo chisel:page (without any page name) to regenerate the project index.