Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Integrate markstream-vue2 into Vue 2 plus Vite with bundled worker imports, CSS ordering, Composition API compatibility, and safe streaming defaults.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -63% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -41% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -44% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -25% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -44% | 0% |
Use Vite-native worker bundling while preserving Vue 2 compatibility and rendering safety.
Use when the host is Vue 2 with Vite and needs bundled Mermaid or KaTeX workers. Use the generic Vue 2 skill when worker/bundler behavior is irrelevant.
Before changing dependencies or source files, inspect the existing package manager and project conventions, preview the intended edits, and obtain explicit user approval.
markstream-vue2/index.css after reset, Tailwind, or UnoCSS layers.?worker or ?worker&inline imports only when needed.@vue/composition-api only for Vue 2.6 code requiring it.content with smooth streaming for chat; set final and disable pacing/cursor for history.nodes only for externally owned parsing. Keep HTML safe and Mermaid strict.vue<script> import MarkdownRender from 'markstream-vue2' import 'markstream-vue2/index.css' export default { components: { MarkdownRender }, props: { content: String, done: Boolean }, } </script> <template> <MarkdownRender :content="content" :final="done" :fade="done" /> </template>
Review worker source, CSP, dependency changes, and bundle impact. Do not relax safe rendering defaults.
Other measured skills in the registry, with their headline benchmark lift.