安装
我们需要通过 npm 安装 anka-cli。当然,在国内使用 cnpm 也是不错的选择:
$ npm install @anka-dev/cli -g
成功后再终端下执行 anka,应该能看见类似信息:
Version: 1.0.0Usage: <command> [options]Options:--debug enable debug mode--quiet hide compile log-V, --version output the version number-h, --help output usage informationCommands:prod Production modedev [pages...] Development Modenew-page [options] <pages...> Create a miniprogram pagenew-cmpt [options] <components...> Create a miniprogram componentenroll [options] <components...> Enroll a miniprogram component
