MCPcopy Index your code
hub / github.com/f820602h/vue-stage-play

github.com/f820602h/vue-stage-play @0.5.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.5.2 ↗ · + Follow
32 symbols 95 edges 18 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Vue Surf

Vue Stage Play

Designing a guided tour for your website with vue components, much like directing a stage play.

Version License

Documentation

What is VueStagePlay?

VueStagePlay is a component-based package designed to assist you in implementing step-by-step guided tour function within your application.

For developers using Vue, VueStagePlay makes developing such features much smoother. Simply import the component, pass in the props, and you're good to go.

The inspiration for VueStagePlay comes from intro.js and vue-starport.

Features

  • 💚 Develop more naturally and seamlessly within your Vue application.
  • 🛠️ Simplify the customization of your guided tour and tooltip using slots and props.
  • 🎯 Focused on your SFC component, no need for additional configuration.
  • 🗞️ No need to import additional CSS files.

Installation

$ npm install vue-stage-play

Usage

Import <StagePlaySpotlight> in your root component and wrap it around the outermost layer.

<script setup lang="ts">
import { StagePlaySpotlight } from 'vue-stage-play'
</script>

<template>
  <StagePlaySpotlight>







  </StagePlaySpotlight>
</template>

Next, import <StagePlayScene> where you want to highlight elements and wrap the elements.

Set the actName and scene for <StagePlayScene>, and call the action function from the slot props.

<script setup lang="ts">
import { StagePlayScene } from 'vue-stage-play'
</script>

<template>
  <StagePlayScene :act-name="'liveDemo'" :scene="1">
    <template #default="slotProp">














      <button @click="slotProp.action()">
        Live Demo
      </button>
    </template>
  </StagePlayScene>
</template>

Documentation

Refer to the documentation for more detailed information.

License

MIT License © 2023 max.lee

Core symbols most depended-on inside this repo

Shape

Function 32

Languages

TypeScript100%

Modules by API surface

src/composables/act.ts9 symbols
src/composables/bodyScrollFixed.ts6 symbols
src/composables/fade.ts5 symbols
src/components/StagePlayScene.ts4 symbols
src/utils.ts3 symbols
src/plugin.ts2 symbols
src/components/StagePlaySpotlight.ts2 symbols
tests/components/StagePlaySpotlight.spec.ts1 symbols

For agents

$ claude mcp add vue-stage-play \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page