* feat(canvas, toolbar/view-setting): add router view setting view mode switcher, support embedded and standalone mode in canvas * fix(canvas/render): fix switch locale failed * feat(canvas): add window.onpopstate listener * fix(toolbars/view-setting): fix init view mode value no fallback cause next view mode label error * fix: using enum instead of multiple time literal string declaration, add fallback for cache value getter in toolbar, fix typo mistake * fix: simplify return value using enum, remove unnecessary style code * fix(toolbars/view-setting): fix package.json wrong repository directory |
||
|---|---|---|
| .. | ||
| bin | ||
| src | ||
| template | ||
| .npmrc | ||
| README.md | ||
| README.zh-CN.md | ||
| package.json | ||
README.md
engine-cli
tiny-engine cli for create new designer/plugin/...
dev
npm run dev # build in watch mode
npm run build # build engine-cli
npm link # after link, you can test engine-cli commands use: engine-cli create xxx
usage
create platform or plugin by prompt
# dynamic create platform or plugin by complete prompt
npx @opentiny/tiny-engine-cli@latest create
create a tiny-engine platform
npx @opentiny/tiny-engine-cli@latest create-platform my-designer
create a tiny-engine plugin
npx @opentiny/tiny-engine-cli@latest create-plugin my-plugin