1.0.0 • Published 4 years ago
@command-tab/place-kitten v1.0.0
place-kitten
A Vue component to display a placeholder kitten image from placekitten
Installation
Command line with npm:
npm install --save @command-tab/place-kittenOr, command line with yarn:
yarn add @command-tab/place-kittenVue project:
<template>
<place-kitten :width="400" :height="200" />
</template>
<script>
import PlaceKitten from '@command-tab/place-kitten'
export default {
components: {
/* other components here */
PlaceKitten
}
}
</script>Props
| Prop | Required | Type | Default | Description |
|---|---|---|---|---|
| width | No | Number | 200 | Image width |
| height | No | Number | 200 | Image height |
1.0.0
4 years ago