System Pages
System Pages:
System pages are essential components of a website or application that serve specific functions crucial to the overall user experience and system operation. These pages are predefined and are integral to the core functionality of the site.
System Pages are pages which are mounted on certain pre-defined routes like Product Listing, Product Description, etc. These pages must be placed in theme > pages.
Theme Pages must be exported as the default component from within the pages
directory. In ~/theme/index.jsx
file, the page must be returned from within the default exported bootstrap function. To create a separate chunk for this chunk, developers can use Webpack’s dynamic import syntax to import the component.
NOTE: Make sure the chunk name matches the key
for the component in the returned object.