markstream-vue2-vite
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMarkstream Vue 2 Vite
Markstream Vue 2 Vite
Use this skill when the host app is Vue 2 and the bundler is Vite.
当宿主应用为Vue 2且构建工具为Vite时,使用本技能。
Workflow
工作流程
- Confirm the repo is Vue 2 with Vite-based tooling.
- Install plus only the requested optional peers.
markstream-vue2 - Import after resets.
markstream-vue2/index.css - Use Vite worker imports when the repo needs bundled workers.
- or
markstream-vue2/workers/... ?workerpatterns are allowed here.?worker&inline
- Keep Composition API decisions explicit for Vue 2.6 repos.
- Validate with the smallest useful Vite dev or build command.
- 确认仓库是基于Vite工具链的Vue 2项目。
- 安装以及仅用户要求的可选依赖。
markstream-vue2 - 在重置样式之后导入。
markstream-vue2/index.css - 当仓库需要打包worker时,使用Vite的worker导入方式。
- 此处允许使用或
markstream-vue2/workers/... ?worker模式。?worker&inline
- 此处允许使用
- 对于Vue 2.6仓库,明确Composition API的相关决策。
- 使用最小可用的Vite开发或构建命令进行验证。
Default Decisions
默认决策
- Prefer bundled workers over CDN workers in Vite-based Vue 2 repos.
- Keep UnoCSS or Tailwind resets before Markstream CSS.
- Use the generic skill only when the bundler-specific choice does not matter.
markstream-vue2
- 在基于Vite的Vue 2仓库中,优先选择打包worker而非CDN worker。
- 将UnoCSS或Tailwind的重置样式放在Markstream CSS之前。
- 仅当无需区分构建工具特定选项时,才使用通用的技能。
markstream-vue2
Useful Doc Targets
有用的文档目标
docs/guide/vue2-quick-start.mddocs/guide/vue2-installation.mddocs/guide/tailwind.mddocs/guide/troubleshooting.md
docs/guide/vue2-quick-start.mddocs/guide/vue2-installation.mddocs/guide/tailwind.mddocs/guide/troubleshooting.md