An open API service indexing awesome lists of open source software.

https://github.com/melihaltintas/vue-portfolio-viewer


https://github.com/melihaltintas/vue-portfolio-viewer

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          


Simple and beautiful portfolio item viewer for VueJS.

## Demo
Live demo of the component can be found [here.](https://vueportfolioviewer.netlify.app/)

## Installation
`npm i vue-portfolio-viewer`

## Usage

After the installation, the component can be used by passing the appropriate props for displaying the data and messages. A sample usage within a single file component is as follows:

```html



import PortfolioItem from "vue-portfolio-viewer/PortfolioItem"

export default {
components: {
PortfolioItem,
},
};

```
### Props

There are basically three different props
The props are as follows:

| prop | Type | Optional? | Default | Description |
|--------------|---------------------|--------------|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `img` | `String` | :x: | `''` | Image file url. |
| `borderColor` | `String` | :white_check_mark: | `#e74c3c` | Color of the border. |
| `href` | `String` | :white_check_mark: | `''` | External link |

## License
The project is under MIT License.