vue-cocomaterial-image
v1.1.0
Published
<p align="center"> <img src="https://github.com/astagi/vue-cocomaterial-image/blob/master/public/food_fruit_coconut.png?raw=true" width="200"> </p>
Maintainers
Readme
Installation
yarn add vue-cocomaterial-imageUsage
import CocomaterialImage from 'vue-cocomaterial-image'
Vue.component(CocomaterialImage.name, CocomaterialImage)Get the image id from Cocomaterial website and use it in your component. You can also change foreground and background colors
<template>
<div id="app">
<cocomaterial-image :imageId="151" foreground="#34495e" background="#41B883" />
</div>
</template>Project setup
yarn installCompiles and minifies for production
yarn buildRun your unit tests
yarn test:unitLints and fixes files
yarn lint