I can't add platform from weex, only from weexpack
drew@drew-Aspire-E1-571G ~/Work/Weex/awesome-project $ weexpack platform add android
Error: Current working directory is not a weexpack project
and I cannot compile weex to android project
.
I can't add platform from weex, only from weexpack
drew@drew-Aspire-E1-571G ~/Work/Weex/awesome-project $ weexpack platform add android
Error: Current working directory is not a weexpack project
and I cannot compile weex to android project
.
If you use weex-toolkit, you should create some files and dirs by yourself, including:
dirs:
files:
Edit
config.xml
:In the current version, you can also use
weex create
to create weexpack project.And of course, a starter kit maybe also helpful for you: https://github.com/elemefe/weex-vue-starter-kit