@bigpicturemedical/medkit-vue3
v0.0.1
Published
![vue supported version](https://img.shields.io/badge/vue-3.0-brightgreen) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@bigpicturemedical/medkit-vue3) [![npm](https://img.shields.io/npm/v/@bigpicturemedical/medkit-vue3)](https://www.npmj
Downloads
41
Keywords
Readme
Medkit (Vue 2 component library)
Usage
Installation
npm i @bigpicturemedical/medkit-vue3
or
yarn add @bigpicturemedical/medkit-vue3
Import entire library globally
import Vue from 'vue';
import MedkitVue3 from '@bigpicturemedical/medkit-vue3';
Vue.use(MedkitVue3);
Import components from the esm folder to enable tree-shaking
import { MkBadge } from '@bigpicturemedical/medkit-vue3/esm';
Demo code can be found under the docs section within storybook.
Local development
Generate new component
npm run create-component
Install
npm install
Serve
npm run serve
Lint
npm run lint
or lint and automatically fix files
npm run lint:fix
Tests
Run all tests
npm run test:unit
Run tests in watch mode
npm run test:single Badge
Build for production
Build everything
npm run build
Build library
npm run build:lib
Build storybook docs
npm run build:docs