Skip to content

v0.7.0

Latest
Compare
Choose a tag to compare
@chengpeiquan chengpeiquan released this 06 Oct 13:54
  • Since part of the code in this repo has nothing to do with the cropper component (e.g. Documentation ), since v0.7.0 , this repo supports an independent workspace, so that the component's dependencies no longer have irrelevant dependencies (currently this problem only exists in previous patch version v0.6.2)
  • Upgraded the dependency version of CropperJS (v1.5.13 --> v1.6.1)
  • The component uses Vue's ref API instead of the original random ID selector.
  • The component uses Vite's Inline CSS Mode to import styles internally, so the build product no longer generates a separate CSS file.

  • 由于部分仓库代码和裁剪组件无关(例如:文档),因此从 v0.7.0 开始,本仓库支持独立的工作空间,这样让组件的 dependencies 不再有无关的依赖(目前该问题仅存在于上一个补丁版本 v0.6.2
  • 升级了 CropperJS 的依赖版本( v1.5.13 --> v1.6.1
  • 组件内部使用 Vue 的 ref API 代替原有的随机 ID 选择器
  • 组件内部使用 Vite 的 Inline CSS Mode 导入样式,因此构建产物不再生成独立的 CSS 文件