Vilay CLI

Vilay provides a tiny CLI to interact with the framework.

dev

Starts the dev server.

Options

  • --port: Port to use for serving the dev server. Default: 3000

build [env]

Build for production.

Options

  • env: Target environment to run the app. Choices: node, cloudflare-workers, cloudflare-pages. Default: node
  • --no-minify: Skip minifying. Useful for debugging purposes. Default: false

start

Launch production SSR server. Only works when the user already built the app with the build command.