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

Add thymeleaf plugin configurer #49

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

kenpb
Copy link
Contributor

@kenpb kenpb commented Apr 15, 2024

Hello,

This starter adds a basic IPluginConfigurer, SbpThymeleafConfigurer that Thymeleaf uses to load templates from the plugins, to be honest, I have no idea how gradle works so I couldn't get the project to compile but hopefully, since the code is fairly simple, I'm not missing anything, let me know if any changes are required.

As a basic implementation it hard-codes the suffix and prefix for the templates in the plugin so its limited to /templates/ as the folder and .html for the templates, I would like to improve this, do you think having individual configuration for each plugin is worth pursuing or should all the plugins just "inherit" the main app template resolver configuration?

Salutations

@hank-cp hank-cp merged commit e67dc03 into hank-cp:master Apr 16, 2024
@kenpb kenpb deleted the feat-thymeleaf-starter branch April 16, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants