计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
markstream-vue2【效率与协作】Integrate markstream-vue2 into Vue 2.6 or 2.7 with correct Composition API decisions, CSS, streaming state, optional peers, and scoped overrides.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Handle Vue 2.6/2.7 compatibility decisions that the generic installer cannot resolve safely.
Use for Vue 2 integration when no bundler-specific edge case dominates. Use markstream-vue2-cli for Vue CLI/Webpack 4 and markstream-vue2-vite for Vite worker imports.
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.@vue/composition-api only for Vue 2.6 code that uses Composition API patterns; Vue 2.7 has built-in support.markstream-vue2/index.css after resets.<MarkdownRender :content="markdown" /> and smooth streaming auto.final, disable pacing/cursor, and enable fade only if desired.nodes only when another layer owns parsing. Use scoped mappings for overrides.<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"
:typewriter="!done"
/>
</template>
Review dependency and compatibility changes. Do not relax rendering safety for untrusted content.