orion-yuchg-chinese
v0.3.0
Published
yuchg chinese packages
Downloads
134
Maintainers
Readme
yuchang-chinese
可视化脚本编辑工具Yuchang的插件库,提供中语文学习相关的Block定义, 注意:yuchg版本必须1.2.0以上
使用步骤
- (1)安装 npm install --save yuchg-chinese
- (2)引入
import yuchg from 'yuchg'
import chinese from 'yuchg-chinese'
import 'yuchg/css/style.css'
let editor = yuchg.Scratch.init(dom)
editor.setOption({
packages: [chinese]
})