vertigo-cli
A packaging tool and server for vertigo library
This package provides vertigo binary that allows to create, build, serve and watch vertigo-based projects.
Packaging steps performed during build command:
- Runs cargo build
- Gathers artifacts produced during the build and by
vertigo/vertigo-macrolibraries:index.htmlwasm_run.jsyour_project.wasm- included static files
- Optimizes your .wasm file using
wasm-opt - Adds hashes to filenames[^hashes] (to bypass browser's cache)
- Places everything in the
builddictionary
Installation
Example usage
Generate new project
Build the project
Serve project
Watch project
[^hashes]: Except hashes for included static files - these are computed by vertigo-macro library