This a demo project for weex in thera. The sources demonstrate the following features:
- How to organize your weex project in thera;
- How to import local tool modules. Ref local.js;
- How to import sub component modules. Ref footer-bar.vue;
- How to import third party modules. Ref demo-tool declared in package.json;
- How to make configuration in
/.thera/launch.json
to customize features like build, mock and more;
Run the following script in the project's root folder to sync NPM dependencies declared in package.json to your local system before further operation. Initially there is only one dependency called demo-tool which we created to demonstrate feauture[4] above.
npm install
Whenever you add new dependencies or update existing ones in package.json, npm install
script should be executed again to sync them. This is totally the same as the prevalent NPM packages. Just feel free to continue your happy journey from this demo.
Lastly you can get the latest release of Thera here.