vue-browser-component
A browser-like window container component for Vue that's ready to showcase anything inside it's screen (images, videos, iframes, etc). 3.04kb gzipped, resizable & maintains it's aspect ratio, free of assets -> CSS only.
Demo Demo HTML file was auto-generated using vue-cli.
Install
yarn add vue-browser-component
Usage
Browser
...(image or video or w/e inside the screen)...
Vue / Nuxt
/** * Hook in the styles */ components: browser
Params
param | type | description | required |
---|---|---|---|
url | String | appears on browser's top bar | false |
Feel free to suggest more!
Browser Support
Check this & Feel free, if you need, to make your own adjustments in package.json browserlist (for what's possible).