An open API service indexing awesome lists of open source software.

https://github.com/kohkimakimoto/echo-viewkit

A comprehensive view package for Echo.
https://github.com/kohkimakimoto/echo-viewkit

go golang labstack-echo server-side-rendering templates

Last synced: 24 days ago
JSON representation

A comprehensive view package for Echo.

Awesome Lists containing this project

README

          

# Echo ViewKit

A comprehensive view package for [Echo](https://github.com/labstack/echo).

## Introduction

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](https://echo.labstack.com/docs/templates) 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](https://github.com/flosch/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](https://laravel.com/docs/11.x/blade), another templating engine bundled with Laravel PHP framework.
Echo ViewKit provides a component-based architecture like [Laravel Blade Components](https://laravel.com/docs/11.x/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](https://vite.dev/) integration that allows you to use Vite for building front-end assets.

## Official Website and Documentation

If you want to learn more about Echo ViewKit, please visit [the official website](https://echo-viewkit.kohkimakimoto.dev).

## Author

Kohki Makimoto

## License

The MIT License (MIT)