We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: 0.7.23-rc1
dub.json:
{ "name" : "test", "dependencies" : { "vibe-d": "~>0.7.23-rc.1" }, "versions": ["VibeDefaultMain"] }
app.d:
import vibe.http.server; import vibe.http.router; void handleMainPage(HTTPServerRequest req, HTTPServerResponse res) { res.render!("index.dt", req); } shared static this() { auto router = new URLRouter; router.get("/", &handleMainPage); auto settings = new HTTPServerSettings; settings.bindAddresses = ["127.0.0.1"]; settings.port = 8080; listenHTTP(settings, router); }
index.dt:
doctype html html( lang="en" )
Html output:
<!DOCTYPE html> <html lang="en""></html>
The text was updated successfully, but these errors were encountered:
c8f53e0
Thank you! It's really amazingly fast
Sorry, something went wrong.
No branches or pull requests
Version: 0.7.23-rc1
dub.json:
app.d:
index.dt:
Html output:
The text was updated successfully, but these errors were encountered: