cask.main
package cask.main
Type members
Classlikes
Defines the main entrypoint and configuration of the Cask web application.
Defines the main entrypoint and configuration of the Cask web application.
You can pass in an arbitrary number of cask.Routes objects for it to serve, and override various properties on Main in order to configure application-wide properties.
- Companion:
- object
A combination of cask.Main and cask.Routes, ideal for small one-file web applications.
A combination of cask.Main and cask.Routes, ideal for small one-file web applications.