The index view is the main index file, and it can contain one view and multiple partials. It also has access to the "Service Provider." MaplePHP comes with a default index file that you can edit according to your needs. The following is the default index file and will be loaded if you do not manually change it, which is possible in your controllers and middlewares.
Let´s take a look at the resources/index.php file.
You can create multiple index file but you can only load one at the time. You might want to change the template file if you want to use completely change the HTML document or read in a different template engine.
Change index - example 1
The bellow example expects that the file "resources/private.php" exists.