v/examples/vweb/static_website
2024-02-14 01:20:44 +02:00
..
dist doc: x.vweb static website capabilities (#20808) 2024-02-13 12:30:25 +02:00
README.md examples: fix static example title (#20821) 2024-02-14 01:20:44 +02:00
server.v doc: x.vweb static website capabilities (#20808) 2024-02-13 12:30:25 +02: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