Echo ViewKit Documentation
Echo ViewKit is a view rendering package for Echo.
Echo is a high performance, extensible, minimalist Go web framework.
It is an excellent choice for building web API servers.
Echo also supports rendering HTML templates.
The official documentation explains how to implement template rendering using the standard html/template
package.
However, this way is insufficient for building most real-world web applications, because the html/template
package lacks many features commonly needed for modern web development.
Echo ViewKit is created to solve this problem. It provides the following features:
- Powerful templating engine:
Pongo2, the core of Echo ViewKit, is a Django-like syntax template engine for Go.
Furthermore, we use a forked version of Pongo2, extensively customizing it to meet the demands of modern web development and seamless Echo integration.
- Component-based architecture:
Our templating system is also inspired by Laravel Blade, another templating engine bundled with Laravel PHP framework.
Echo ViewKit provides a component-based architecture like Laravel Blade Components. It enhances code organization and maintainability.
- Vite integration:
Front-end build tools are essential for modern web development.
Echo ViewKit provides a Vite integration that allows you to use Vite for building front-end assets.