vigour-play-text

Text component (previously in play)

Usage no npm install needed!

<script type="module">
  import vigourPlayText from 'https://cdn.skypack.dev/vigour-play-text';
</script>

README

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