v/examples/vweb/static_website
2024-08-18 17:27:08 +03:00
..
dist
README.md examples: fix static example title (#20821) 2024-02-14 01:20:44 +02:00
server.v veb: deprecate x.vweb in favor of veb; checker: show missing variants in the sumtype error 2024-08-18 17:27:08 +03:00

Host a static website

Here is an example on how to use the vweb server's static capabilities, to host a static website from the dist/ folder. Just run the server, it will be available at http://localhost:8080/ :

v run server.v