Trillo Docs
  • Info
  • Quick Start
  • Concepts
    • Overview
    • Reactivity
    • Indexability
    • Reusability
    • Kits
  • Reference
    • CLI
    • Language
    • Markup
    • Preprocessor
    • Runtime
    • Server
    • Stdlib
Powered by GitBook
On this page
  1. Reference

CLI

PreviousReferenceNextLanguage

Last updated 1 year ago

Once installed, Trillo provides the trillo command:

npm install -g trillo
mkdir myapp
echo "<html><body>it's [[new Date()]]</body></html>" > myapp/index.html
trillo serve myapp
# ... http://localhost:3000

The serve option launches a serving pages from the given directory, as an easy way to develop Trillo pages, and includes the ability to auto reload the browser on changes.

The trillo command is only intended as a development tool.

development server