Conversation
liweijie0812
commented
Mar 5, 2026
Generated-By: AI
|
commit: |
【预览链接】
|
|
Size Change: 0 B Total Size: 8.22 MB ℹ️ View Unchanged
|
|
📦 cherry-markdown dev preview published
Install NPM with : pnpm add cherry-markdown@npm:@cherry-markdown/cherry-markdown-dev@0.10.3-202603050806.4ce389fyarn add cherry-markdown@npm:@cherry-markdown/cherry-markdown-dev@0.10.3-202603050806.4ce389fnpm i cherry-markdown@npm:@cherry-markdown/cherry-markdown-dev@0.10.3-202603050806.4ce389f如果你使用了其他以 cherry-markdown 作为同等依赖(peer dependency)的元框架,你需要在 package.json 文件中覆盖 cherry-markdown 依赖,具体操作方式会因你使用的包管理器而略有不同 If you use a meta framework that has cherry-markdown as peer dependency, you have to override the cherry-markdown dependency in your package.json, which works slightly different depending on your package manager # npm
{
"overrides": {
"cherry-markdown": "npm:@cherry-markdown/cherry-markdown-dev@0.10.3-202603050806.4ce389f"
}
}
# yarn
{
"resolutions": {
"cherry-markdown": "npm:@cherry-markdown/cherry-markdown-dev@0.10.3-202603050806.4ce389f"
}
}
# pnpm
{
"pnpm": {
"overrides": {
"cherry-markdown": "npm:@cherry-markdown/cherry-markdown-dev@0.10.3-202603050806.4ce389f"
}
}
}在添加 overrides 之后,重新安装你的依赖并像往常一样启动你的开发服务器或构建你的项目即可,无需进一步的配置更改 After adding these overrides, reinstall your dependencies and start your development server or build your project as usual. No further configuration changes are required |