Docs
API Reference
File Conventions
[name].layout.js

[name].layout.js

In Rasengan.js, to create a layout, you have to create a file that follow the following name pattern:

[name].layout.js

A layout is UI that is shared between routes.

Example

Based on the convention, we have juste replace the [name] by app in the convention name and we got app.layout.js.

Following the convention, is not required but, keeping that convention will help you recognizing the purpose of each files you will have.

Logo Image