@forlagshuset/v-writing-tool
v0.2.24
Published
Reusable Vue Components =============================
Downloads
48
Keywords
Readme
Reusable Vue Components
Introduction
This is a composite to render writing tool from forlagshuset.
Installation
npm install
Previewing components locally
Now you can add your component to application:
import WT from '@forlagshuset/v-writing-tool'
Running tests
npm run test:unit
Launch storybook
npm run storybook
Props
Data should be JSON formatted and include:
- steps - Array of object, to render step navigation and steps component
- introduction - Object having title and html text, to render "step zero" before first step and first element on toolbox
- example_text - for @forlagshuset/v-selection-tool, to render example text wrapped in modals in toolbox
- video - for @forlagshuset/v-video-content, to render video in modal in toolbox
- visual_structure - picture link, to render visual structure image in toolbox
- checklist - to render checklist on right side