@paperlust/item-design
v1.3.1
Published
Item Design is a component vue for multi project.
Downloads
50
Readme
Item Design
Item Design is a component vue for multi project.
Installation
Use the package manager nodejs to install Item Design.
npm install @paperlust/item-design
Usage
import package
import VItem from '@paperlust/item-design';
import style from package
import '@paperlust/item-design/dist/style.css';
Example:
import store from './store';
import VItem from '@paperlust/item-design';
Vue.use(VItem, store);
add on your component vue
<v-item :item="item" :configurations="configurations" />
Props
| Name | Type | Default | Description |
| ---------------- | ------ | ------- | ---------------------------------- |
| item
| Object | {} | Object data item for quick preview |
| configurations
| Object | {} | Options for quick preview |
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.