Replies: 1 comment 7 replies
-
The answer depends on whether the questionnaire for all frontend frameworks is (nearly) the same or whether each framework needs significantly different questions. If the questions are (nearly) the same, then you can use a templated _subdirectory: "templates/template-{{ framework }}"
framework:
type: str
help: Your frontend framework
choices:
- angular
- blazor
- dioxus
# ...
# ... your remaining questions Then, your filesystem layout (akin to your provided link) may be this:
If, however, the questions are very different for the different frameworks, then this may get very cumbersome with many questions conditioned on a framework. Copier doesn't support multiple (independent) templates per Git repository. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, we are considering using
copier
for pytauri.In short it's a project that allows using Tauri with Python.
For our template generator we require multiple templates, such as for the different frontend frameworks there are.
To keep the code organized we'd like to separate templates similar to how tauri does it
Is something like this possible with
copier
? We have searched through the documentation but have not found any information related to it.Beta Was this translation helpful? Give feedback.
All reactions