@forlagshuset/v-writing-tool

0.2.24 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @forlagshuset/v-writing-tool

Weekly Downloads

1

Version

0.2.24

License

MIT

Unpacked Size

667 kB

Total Files

24

Last publish

Collaborators

  • kemorian
  • warszk
  • iapain
  • lukaszsiromski
  • daniel.wiadro
  • shardiwal