@onthetools/vue-mockbook
Vue 3 wrapper for CSS only mockup of a macbook for displaying screenshots
262
| Install | |
|---|---|
npm install @onthetools/vue-mockbook |
|
| Latest Version: | 1.0.5 |
| Vue: | 3 |
| License: | ISC |
| Last Updated: | Jun 25, 2023 |
| Links: | GitHub · npm |
Maintainer: onthetools
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" />

Related Packages
vue-styled-components
Visual primitives for the component age. A simple port of styled-components 💅 f...
242,901
1,376
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.5 | ^3.2.47 | ISC | |
| 1.0.4 | ^3.2.47 | ISC | |
| 1.0.3 | ^3.2.47 | ISC | |
| 1.0.2 | ^3.2.47 | ISC | |
| 1.0.1 | ^3.2.47 | ISC | |
| 1.0.0 | ^3.2.47 | ISC |