Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 436 Bytes
title layout
Node APIs
docs

Usage

Implement any of Saber Hooks by exporting them from a file named saber-node.js in the root of your project.

During developing, you need to restart the server if you made any changes in this file.

For example:

exports.onCreatePage = function (page) {
  page.attributes.foo = true
}

You can access Saber Instance via this.

You can’t perform that action at this time.