Markstream Vue 2
Use this skill when the host app is Vue 2 and not specifically a Vue CLI / Webpack 4 edge case.
Workflow
- Confirm the repo is Vue 2.6 or 2.7.
- Install
markstream-vue2.
- Add @vue/composition-api only when the repo is Vue 2.6 and uses Composition API patterns.
- Import
markstream-vue2/index.cssafter resets. - Start with
<MarkdownRender:content="markdown" />. - Use scoped custom component mappings when the task needs overrides or trusted tags.
- Validate with the smallest useful dev or build command.
Default Decisions
- Vue 2.7 can use built-in Composition API support.
- Vue 2.6 needs
@vue/composition-apionly when the codebase actually relies on Composition API. - If the repo is Vue CLI / Webpack 4, prefer
markstream-vue2-cli. - If the repo is Vue 2 plus Vite worker imports, prefer
markstream-vue2-vite.
Useful Doc Targets
docs/guide/vue2-quick-start.mddocs/guide/vue2-installation.mddocs/guide/vue2-components.mddocs/guide/troubleshooting.md