houboshi
猴博士
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and publish
npm run build-lib
参数
角色:(必传)
-
0
老师 -
1
学生
是否显示缩放按钮:(必传)
-
true
显示 -
false
不显示 (不显示的默认高度是屏幕的1/2)
大小尺寸限制:(非必传)
-
minWidth
最小宽度 (默认屏幕1/4宽) -
minHeight
最小高度(默认屏幕1/4高) -
maxWidth
最大宽度(默认屏幕1/4宽) -
maxHeight
最大高度(默认屏幕1/2高)
编译器类型 compilerType:(写入root的hbs对象中)
-
scratch
scratch编译器 -
cpp
c++编译器 -
py
python 编译器
this.$root.hbs = {
role: 0,
compilerType: 'cpp',
};
老师角色 c++编译器