Back to templates
Static Website
A static-website starter template using Static Web Server.
You can follow the full tutorial from here
Usage
All the static files will be served from the public
folder, and the static webserver will be configured using the config.toml
file.
You can run the static-website template easily using Wasmer (check out the install guide):
wasmer run . --net
Open http://localhost:8080 with your browser to see the static website.
Deploy on Wasmer Edge
The easiest way to serve your public assets is to use the Wasmer Edge as your CDN.
Live example: https://static-website.wasmer.app/
Run this commmand to deploy to Wasmer Edge:
wasmer deploy
Frameworkstatic-web-server
LanguageN/A
Powered by package
Browse all templates →wasmer/static-web-server