mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
9 lines
245 B
Markdown
9 lines
245 B
Markdown
# 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/ :
|
|
|
|
```bash
|
|
v run server.v
|
|
```
|