Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smartface/router-test
https://github.com/smartface/router-test
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/smartface/router-test
- Owner: smartface
- Created: 2018-09-19T10:44:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T17:34:34.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T01:06:43.846Z (9 months ago)
- Language: JavaScript
- Size: 17.7 MB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Play and Learn
In order to improve your router skills you can create a workspace by cloning this repository.
### How to use?
After open new workspace you could find examples in the `./scripts/routes` folder and you should apply this instructions to run examples.
Select an URL
- /example/replace/pages/page1 - Replace action examples
- /example/btb - BottomTabBarRouter examples
- /example/modal - Modal pages examples
- /example/backto - Back to page examples
and replace push function's URL to run example.```js
router.push("/example/replace/pages/page1");
```## Maintanence
### Set up
- Clone https://github.com/smartface/router-test to workspace root
- Run ``` cd scripts && yarn ```
- Run on Device___
____ _ __ _
/ ___| _ __ ___ __ _ _ __| |_ / _| __ _ ___ ___ (_) ___
\___ \| '_ ` _ \ / _` | '__| __| |_ / _` |/ __/ _ \ | |/ _ \
___) | | | | | | (_| | | | |_| _| (_| | (_| __/ _ | | (_) |
|____/|_| |_| |_|\__,_|_| \__|_| \__,_|\___\___| (_) |_|\___/
-----------------------------------------------------------------Hey fellow developer, thank you for using Smartface Cloud!
Developing native apps for iOS and Android is as easy as a few lines of
JavaScript code.Start coding right away and to view your app instantly on a real device,
just click the Run on Device button and follow the instructions.You can also update your native apps remotely and manage their lifecycle
end-to-end, fully in the cloud.Welcome to the world of mobility!
Smartface Team.## Support & Documentation & Useful Links
- [Guides](https://docs.smartface.io/)
- [API Docs](http://ref.smartface.io)