Load failed, please check the network.
loading...
import valval fn hello(req valval.Request) valval.Response { return valval.response_ok('hello world') } fn main() { mut app := valval.new_app(true) app.register('/', hello) valval.runserver(app, 8012) }
Has the following advantages:
You don't need to spend time learning how to use templates, if you have used `Vue` before.
If you haven't used `Vue`, you also can learn it fast, because it's so easy.
It can integrate some commonly used UI frameworks, such as: `element`, `mint`, `vant`, `antd`, `bootstrap`...
I don't need to spend time developing built-in templates 😁.
Examples
Documentation
Github