0.0.1 • Published 4 years ago
@bigpicturemedical/medkit-vue3 v0.0.1
Medkit (Vue 2 component library)
Usage
Installation
npm i @bigpicturemedical/medkit-vue3
or
yarn add @bigpicturemedical/medkit-vue3Import 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-componentInstall
npm installServe
npm run serveLint
npm run lintor lint and automatically fix files
npm run lint:fixTests
Run all tests
npm run test:unitRun tests in watch mode
npm run test:single BadgeBuild for production
Build everything
npm run buildBuild library
npm run build:libBuild storybook docs
npm run build:docs0.0.1
4 years ago