Skip to content

heinzeya/koa-ractive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

koa-ractive

Ractive components rendering in server

Installation

$ npm install koa-ractive

Example

var views = require('koa-ractive')
var path = require('path')
var router = require('koa-router')

app.use(views(path.join(__dirname, './templates')))
app.use(router(app))

app.get('/', function*(){
  this.render('home')
})

About

Ractive components render in server site (koa)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published