WeChat miniprogram helper
npm install anka -g
Usage: anka [options] [command]
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
init initialize WeChat miniprogram project
page [page-name] initialize WeChat miniprogram page
component [component-name] initialize WeChat miniprogram component
add [options] [component-name] page that is going to register component
rm [options] [component-name] remove component from page
// wxApp/anka.config.json
{
"components": "./components",
"pages": "./pages"
}