v0.10.0
This is a breaking change.
This change removes the customized template config and prefers to patch the built in one.
Instead of:
vite = VitePlugin(config=ViteConfig(template_dir='templates/'))
app = Litestar(plugins=[vite], route_handlers=[WebController])
use:
template_config = TemplateConfig(engine=JinjaTemplateEngine(directory='templates/'))
vite = VitePlugin(config=ViteConfig())
app = Litestar(plugins=[vite], template_config=template_config, route_handlers=[WebController])
What's Changed
Full Changelog: v0.9.0...v0.10.0