Skip to content

Ractive components render in server site (koa)

Notifications You must be signed in to change notification settings

dirksen/koa-ractive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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

Languages

  • JavaScript 100.0%