Docs 0.0.3 Help

Consistent Layout

To create a consistent layout across your app, consider the following:

To create a consistent layout across your app, consider the following:

  1. Define a basic layout file and add the

    kotlinext.js.require("./globals.css")

    line in it.

  2. Reuse this layout in all other files to maintain a consistent design, which will automatically include globals.css file in all your files.

For reference, you can check the layout file used in the shadcn-kotlin project.

Last modified: 21 October 2023