cherry-markdown
cherry-markdown copied to clipboard
[Feature report] 可以新增使用cdn方式构建嘛
Clear and concise description of the problem
我现在是在腾讯云购买的2核2g服务器,带宽值给分配了4mbps,这个组件加载我打算放到cos对象存储中引用,但是是这里面那些js和css繁多,不知道怎么选择
Suggested solution
Additional context
No response
Validations
- [ ] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Help us
None
可以使用 jsdelivr 和 unpkg 作为 CDN。
可以使用 jsdelivr 和 unpkg 作为 CDN。
嗯嗯,我现在用的这两个,只需要这两个就可以了吗,链接怎么看呢
可以参考各自 CDN 的使用文档,除了 import xx from 'cherry-markdown';
需要对应使用 package.json
中定义的入口文件 /dist/cherry-markdown.min.js
或 /dist/cherry-markdown.esm.js
以外,其他的保持原引用路径即可。