1.0.5 • Published 3 years ago

@onthetools/vue-mockbook v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Vue 3 MockBook

Vue 3 wrapper for CSS only mockup of a macbook for displaying screenshots on your website.

Getting started

Install via NPM:

npm i @onthetools/vue-mockbook

Import the package and styles to use in your Vue 3 project:

import { VueMockbook } from '@onthetools/vue-mockbook'
import '@onthetools/vue-mockbook/dist/style.css'

Then to use the component pass a required screenshot prop and optional url to display in the address bar

<VueMockbook screen-shot="path-to/screenshot.png" url="optionalurl.com" />

screenshot of the mockup in action

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago