This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
wx-generator with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Weapp page/component generator cli
wx-generator create [TYPE] [NAME]
TYPE can be 'page' or 'component', NAME will be the generated dir and file name.
USAGE $ wx-generator create [TYPE] [NAME]
See code: src/commands/create.js
wx-generator help [COMMAND]
display help for wx-generator
USAGE $ wx-generator help [COMMAND] ARGUMENTS COMMAND command to show help for OPTIONS --all see all commands in CLI
See code: @oclif/plugin-help