Murmur
Murmur is ICIJ's Design System for Bootstrap 4 and Vue.js.
Installation guide
If you are using module bundlers such as Webpack or Rollup, you might need to include the package into your project. To get started, use NPM or Yarn to get latest version of @icij/murmur.
# with NPM:
npm i @icij/murmur
# or with Yarn:
yarn add @icij/murmur
Then, register Murmur as a pluggin in your app entry point:
import Vue from 'vue'
import Murmur from '@icij/murmur'
Vue.use(Murmur)
Now all components will be globally available in your app. Read the documentation to know how to use them.
Build Setup
# install dependencies
yarn
# serve documentation with hot reload at localhost:8080
yarn serve
# build library and documentation for production with minification
yarn build
# build library for production with minification
yarn build:lib
# build documentation for production with minification
yarn build:docs
# deploy the doc on Github Pages
yarn deploy
# publish a version of the package on NPM registry
yarn publish
# run unit tests
yarn test:unit