markstream-vue2-cli
Original:🇺🇸 English
Translated
Integrate markstream-vue2 into a Vue 2 Vue CLI or Webpack 4 app. Use when Codex needs Webpack 4-friendly setup, CDN worker fallbacks for Mermaid or KaTeX, `dist/index.css` imports, Vue 2 composition-api shims, or safer code block defaults that avoid fragile Monaco worker setups.
8installs
Added on
NPX Install
npx skill4agent add simon-he95/markstream-vue markstream-vue2-cliTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Markstream Vue 2 CLI
Use this skill when the host app is Vue 2 on Vue CLI or another Webpack 4-style stack.
Workflow
- Confirm the repo uses Vue 2 plus Vue CLI or Webpack 4-era tooling.
- Install and only the peers required for the requested features.
markstream-vue2 - Import in the app shell.
markstream-vue2/dist/index.css - Avoid Vite-style imports.
?worker- Use and
createKaTeXWorkerFromCDN(...)when workers are needed.createMermaidWorkerFromCDN(...)
- Use
- Prefer stable code block defaults over brittle Monaco wiring.
- plus
MarkdownCodeBlockNodeis safer than Monaco in Webpack 4-era repos.stream-markdown
- Validate with the smallest useful local dev or build command.
Default Decisions
- Treat Monaco and worker-heavy setups as opt-in and fragile on Webpack 4.
- Prefer CDN workers over bundler workers for Mermaid and KaTeX.
- Keep the Vue 2 composition-api shim explicit when the repo is on Vue 2.6.
Useful Doc Targets
docs/guide/vue2-quick-start.mddocs/guide/vue2-installation.mddocs/guide/troubleshooting.md