Setup
yarn install
Development
yarn dev
(Start development server, http://localhost:3000)
Server
yarn build
(Build production)yarn server
(Start server, http://localhost:3000)
-
Set configurable parts in your templates with
@{{name_of_variable}}
<p class="m-0 mb-24">Substitution in action: @{{message}}</p>
-
Server listens for get requests to
/<some_path>
-
Server takes query params from url and replaces variables
Services