iOS Only (at present)
weexpack plugin add nat-navigator
npm install natjs --save
Use in weex file (.we)
<script>
import 'Nat' from 'natjs'
Nat.navigator.init({
fontSize: 24,
color: '#fff',
backgroundColor: '#0bc2ee'
})
Nat.navigator.push({
url: 'js file path'
})
Nat.navigator.pop()
</script>
See the Nat Documentation for more details.