0.1.0 • Published 8 years ago

vigour-play-text v0.1.0

Weekly downloads
2
License
UNLICENSED
Repository
github
Last release
8 years ago

To use as a component

npm i @vigour-io/play-text --save
exports.title = { type: 'title' }
exports.subtitle = { type: 'subtitle' }
exports.info = {
  type: 'info',
  title: {},
  subtitle: {}
}
exports.description = { type: 'description' }
exports.description-short = { type: 'description-short' }

To check code for isolated working example please look at test/index.js.

To run in isolation

To be able to run in isolation, you need vpack runner and vigour-element for browser rendering.

npm i vpack -g && npm i

And then to run using vpack, use:

npm run dev