stormkit-io / app-stormkit-io

Stormkit is an all in one solution for Full Stack Javascript applications.
https://app.stormkit.io
GNU General Public License v3.0
64 stars 8 forks source link

refactor: specify layouts directly from the routes file #423

Closed svedova closed 2 years ago

svedova commented 2 years ago

Instead of including the layouts from the Route file, specify it as a lazy import when defining a route. This change allows us to wrap the file with the layout with a logic. It also beneficial for the tests because the layout won't generate unneeded markup anymore.

stormkit-io[bot] commented 2 years ago

Deployment completed

This pull request was successfully built on Stormkit. You can preview it using the following link.

https://app--68619509281369.stormkit.dev

stormkit-io[bot] commented 2 years ago

Deployment completed

This pull request was successfully built on Stormkit. You can preview it using the following link.

https://app--68621154083720.stormkit.dev