@vishot/mockup-desktop-vue
Vue capture canvas and desktop mockup components for Vishot.
37,568
1
| Install | |
|---|---|
npm install @vishot/mockup-desktop-vue |
|
| Latest Version: | 0.3.1 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 6, 2026 |
| Links: | GitHub · npm |
Maintainer: nekomeowww
@vishot/mockup-desktop-vue
Vue capture canvas and desktop mockup components for Vishot.
What it does
This package provides reusable Vue primitives for building screenshot scenes:
- capture canvas components
- desktop platform shells for macOS and Windows mockups
- scene ready helpers
- screen navigation composables
- capture-root helpers for Vue Router scenes
How to use
<script setup lang="ts">
import { markScenarioReady, ScenarioCanvas } from '@vishot/mockup-desktop-vue'
markScenarioReady()
</script>
<template>
<ScenarioCanvas>
<!-- screenshot scene -->
</ScenarioCanvas>
</template>
Import narrower entrypoints when a product only needs one surface:
import { useSceneReady } from '@vishot/mockup-desktop-vue'
import { MacosPlatformRoot } from '@vishot/mockup-desktop-vue/macos'
When to use
- You are composing reusable desktop screenshot scenes in Vue.
- You need generic capture canvas, ready-signal, or desktop shell primitives.
When not to use
- Do not add product-specific routes, docs walkthroughs, or app selectors here.
- Use the product repository for scenario content and visual narratives.
Version History
| Version | Released | License |
|---|---|---|
| 0.3.1 | MIT | |
| 0.3.0 | MIT | |
| 0.2.0 | MIT | |
| 0.1.1 | MIT | |
| 0.1.0 | MIT | |
| 0.0.3 | MIT | |
| 0.0.0 | MIT |