JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
components/app-hello
.gitignore
README.md
index.marko
package.json
server.js

README.md

Sample App: Marko + Koa + Lasso

This sample app illustrates how to integrate Marko with a very basic Koa app. For this sample app, we use the streaming API to stream the output of the template rendering to the HTTP response stream. In addition, this sample application illustrates how to create custom tags that can be embedded into your templates.

Installation

git clone https://github.com/marko-js-samples/marko-koa.git
cd marko-koa
npm install
npm start

Navigate to http://localhost:8080/ to see your server in action!