Markstream Vue 3
Use this skill when the host app is plain Vue 3, typically Vite-based, and not Nuxt.
Workflow
- Confirm the repo is Vue 3 and not Nuxt.
- Install
markstream-vueplus only the optional peers required by the requested features. - Import
markstream-vue/index.cssafter resets.
- In Tailwind or UnoCSS projects, keep Markstream styles inside @layer components.
- Start with
<MarkdownRender:content="markdown" />.
- Switch to nodes plus final only for streaming, SSE, or high-frequency updates.
- Use
custom-idplus scopedsetCustomComponents(...)for overrides. - Validate with the smallest useful dev, build, or typecheck command.
Default Decisions
- Vue 3 apps default to
content. - Prefer local component registration unless the repo already uses a shared plugin entry.
- When Monaco code blocks need app-level preloading, import
preloadCodeBlockRuntimefrommarkstream-vue. ExistinggetUseMonaco()preloads remain valid; do not importstream-monacodirectly just to warm workers. - If the host is actually Nuxt, leave SSR-specific setup to
markstream-nuxt.
Useful Doc Targets
docs/guide/quick-start.mddocs/guide/installation.mddocs/guide/usage.mddocs/guide/component-overrides.md