본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)48k · #5175

markstream-vue2-cli

하는 일

이 도구는 Vue CLI 또는 Webpack 4를 쓰는 오래된 Vue 2 프로젝트에서 「markstream-vue2」 라이브러리를 사용하도록 돕습니다. CSS가 올바르게 작동하도록 하고, 호환되지 않을 수 있는 최신 기능에 대한 대안을 제공합니다.

사용하는 경우

  • ✓Vue 2 프로젝트가 Vue CLI나 Webpack 4를 사용할 때.
  • ✓「package export maps」나 「Vite worker imports」 같은 최신 기능을 쓸 수 없을 때.
  • ✓기존 프로젝트를 망가뜨리지 않고 「markstream-vue2」를 통합하고 싶을 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-vue2-cli/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-vue2-cli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Webpack 4를 쓰는 Vue 2 프로젝트에서 markstream-vue2를 어떻게 사용할 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 Vue CLI와 Webpack 4의 제약에 맞게 「markstream-vue2」를 가져오고 설정하는 방식을 조정합니다. CSS는 따로 가져오며, worker 같은 기능에는 대체 방법을 사용합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Markstream Vue 2 CLI

Overview

Handle Vue CLI and Webpack 4 constraints that differ materially from modern Vue 2/Vite setup.

When to Use

Use when Vue 2 runs on Vue CLI or Webpack 4 and package export maps or Vite worker imports are unavailable.

Workflow

Inspect the existing package manager, installed package version and project conventions. A requested scoped integration already authorizes routine source/dependency edits; seek approval only for a material scope expansion or unresolved beta/alpha adoption decision.

  1. Confirm Vue 2 plus Vue CLI/Webpack 4.
  2. Install markstream-vue2 and only requested peers.
  3. Import markstream-vue2/dist/index.css, because legacy tooling may not understand the CSS export map.
  4. Avoid ?worker imports. Use Markstream CDN worker helpers for KaTeX or Mermaid only when needed.
  5. Prefer stream-markdown code blocks over fragile Monaco worker wiring.
  6. Keep content with smooth streaming for chat; set final and disable pacing/cursor for completed history.
  7. Keep HTML safe and Mermaid strict; validate the actual legacy build.

Example

<script>
import MarkdownRender from 'markstream-vue2'
// Legacy Webpack may not resolve the package CSS export map.
import 'markstream-vue2/dist/index.css'

export default {
  components: { MarkdownRender },
  data: () => ({ content: '# Answer', done: false }),
}
</script>

<template>
  <MarkdownRender
    :content="content"
    :final="done"
    :fade="false"
  />
</template>

Limitations

  • CDN workers require network access and compatible content-security policy.
  • Monaco-style worker setups are intentionally not covered.
  • Vue 2.6 may also require @vue/composition-api.

Security & Safety Notes

Do not introduce CDN workers without reviewing CSP, network policy, and dependency trust. Preserve safe rendering defaults.

Verify props, export paths and peer ranges against the installed package, not a mutable upstream main. Test partial and completed streams, malformed/untrusted Markdown, links and image URLs, cancellation and reduced motion. Safe HTML and strict diagrams reduce exposure but do not alone enforce URL/network privacy or application component permissions.

Vue 2 is end-of-life; preserve a requested legacy integration and document its maintenance/support decision rather than silently upgrading the whole application. Prefer reviewed locally bundled workers over mutable CDN code where feasible.

자주 묻는 질문

「package export maps」란 무엇인가요?

JavaScript 라이브러리의 부분을 정리하고 가져오는 더 현대적인 방식입니다. 오래된 프로젝트는 이 구조를 이해하지 못할 수 있습니다.

「CDN worker fallbacks」란 무엇인가요?

기본 방법이 환경에서 작동하지 않을 때, 인터넷(CDN)에서 내려받은 코드를 사용해 특정 작업(예: 수학 공식 렌더링)을 실행하는 대안입니다.

「보수적인 코드 블록 기본값」을 쓰는 이유는 무엇인가요?

도구가 코드 블록에 더 안전하고 단순한 설정을 사용해, 오래된 환경에서 호환성이나 보안 문제를 피한다는 뜻입니다.

상세 정보

작성자의 원본 설명

Integrate markstream-vue2 into Vue CLI or Webpack 4 with export-map-safe CSS, CDN worker fallbacks, and conservative code-block defaults.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5175
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬