Skip to content
Navigation

使用选项式 API

Vue 3 也支持使用 Options API 编写组件。

TIP

本 demo 和 使用组合式 API 一样,只是组件使用了 Options API 写法。

在线演示

Click the button to select the picture first, and it will enter the cutting process.

组件源码

可以参考 demo 的用法自行调整:查看本 demo 源码

Released under the MIT License.