vue-cocomaterial-image

1.1.0 • Public • Published

Cocomaterial Image component for Vue.js. Try the demo!

Installation

yarn add vue-cocomaterial-image

Usage

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 install

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Lints and fixes files

yarn lint

/vue-cocomaterial-image/

    Package Sidebar

    Install

    npm i vue-cocomaterial-image

    Weekly Downloads

    1

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    93.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • astagi