Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Document compositing multiple applications and multi-file design #345

Open
2 tasks done
pydanny opened this issue Aug 20, 2024 · 2 comments
Open
2 tasks done
Labels
documentation Improvements or additions to documentation

Comments

@pydanny
Copy link
Collaborator

pydanny commented Aug 20, 2024

Is your feature request related to a problem? Please describe.

In the routing docs we need to explain how to bring in routes from different modules or applications into the main route.

Describe the solution you'd like

Create a clear, concise, interesting example. Reference FastHTML Gallery and other projects that leverage this technique.

Implementations

  1. FastHTML Gallery

Problem solved
Explain what problem this feature would solve and how it would benefit users of the library:

Additional context
Add any other context or screenshots about the feature request here.

Confirmation
Please confirm the following:

  • I have checked the existing issues and pull requests to ensure this feature hasn't been requested before.
  • I have read the project's documentation to ensure this feature doesn't already exist.
@pydanny pydanny added the enhancement New feature or request label Aug 20, 2024
@jph00 jph00 added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Aug 22, 2024
@jph00
Copy link
Contributor

jph00 commented Sep 5, 2024

fh-about is also a useful example. (Not just for compositing applications, but for multi-file layout more generally.)

@jph00 jph00 changed the title [FEATURE] Document compositing multiple applications [FEATURE] Document compositing multiple applications and multi-file design Sep 5, 2024
@FazleRabbbiferdaus172
Copy link

In the latest version of fasthtml, There is APIRouter class which can be used for multi-file design to describe the routes. The routes explanation section is incomplete but there is link where you can find the explanation of the APIs of core module.

docs of core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants