Consistent Layout
To create a consistent layout across your app, consider the following:
To create a consistent layout across your app, consider the following:
Define a basic layout file and add the
kotlinext.js.require("./globals.css")line in it.
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