konva/test/import-test.cjs

7 lines
137 B
JavaScript
Raw Normal View History

2021-05-05 22:19:24 +08:00
// try to import only core
2023-04-14 12:27:56 +08:00
const Konva = require('../');
2021-04-30 22:24:27 +08:00
2021-05-09 21:11:42 +08:00
// just do a simple action
const stage = new Konva.Stage();
stage.toDataURL();