@forlagshuset/v-writing-tool

Reusable Vue Components
1,559
Install
npm install @forlagshuset/v-writing-tool
Latest Version:0.2.24
Vue:2
License:MIT
Last Updated:Jul 28, 2021
Links: npm
Maintainer: warszk

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

Related Packages

@forlagshuset/v-tabs

ARIA implementation as in https://www.w3.org/TR/wai-aria-practices/examples/tabs...

1,447

Version History

Version Released Vue License
0.2.24 ^2.6.10 MIT
0.2.23 ^2.6.10 MIT
0.2.22 ^2.6.10 MIT
0.2.21 ^2.6.10 MIT
0.2.20 ^2.6.10 MIT