[](https://www.npmjs.com/package/@uni/navigate)
npm install @uni/navigateRoute navigation capability implementation.

``bash`
$ npm install @uni/navigate --save
`js
import navigate from '@uni/navigate';
// How to use it in quickapp
// import chooseImage from '@uni/navigate/lib/quickapp;
navigate.push({
url: 'https://www.taobao.com/'
}).then(() => {
});
navigate.back().then(() => {
});
navigate.go({
step: -1
}).then(() => {
});
navigate.replace({
url: 'https://www.taobao.com/'
}).then(() => {
});
navigate.reLaunch({
url: 'https://www.taobao.com/'
}).then(() => {
});
`
#### Arguments
| Property | Type | Description | required | Default |
| ---------------- | --------- | ---------------------------------------------------------------------------------- | :------: | :-----: |
| options | object | Push function arguments | true | - |string
| options.url | | The page URL. | true | - |Function
| options.success | | The callback function for a successful API call | false | - |Function
| options.fail | | The callback function for a failed API call | false | - |Function
| options.complete | | The callback function used when the API call completed (always executed whether the call succeeds or fails) | 否 | - |
#### Arguments
| Property | Type | Description | required | Default |
| ---------------- | --------- | ---------------------------------------------------------------------------------- | :------: | :-----: |
| options | object | Pop function arguments | false | - |Function
| options.success | | The callback function for a successful API call | false | - |Function
| options.fail | | The callback function for a failed API call | false | - |Function
| options.complete | | The callback function used when the API call completed (always executed whether the call succeeds or fails) | 否 | - |
#### Arguments
| Property | Type | Description | required | Default |
| ---------------- | --------- | ---------------------------------------------------------------------------------------------------------------- | :------: | :-----: |
| options | object | Go function arguments | true | - |number
| options.step | | The number of forward steps is positive and only supports the web, and the number of backward steps is negative. | true | - |Function
| options.success | | The callback function for a successful API call | false | - |Function
| options.fail | | The callback function for a failed API call | false | - |Function
| options.complete | | The callback function used when the API call completed (always executed whether the call succeeds or fails) | 否 | - |
#### Arguments
| Property | Type | Description | required | Default |
| ---------------- | --------- | ---------------------------------------------------------------------------------------------------------------- | :------: | :-----: |
| options | object | Go function arguments | true | - |number
| options.url | | The page URL. | true | - |Function
| options.success | | The callback function for a successful API call | false | - |Function
| options.fail | | The callback function for a failed API call | false | - |Function
| options.complete | | The callback function used when the API call completed (always executed whether the call succeeds or fails) | 否 | - |
#### Arguments
| Property | Type | Description | required | Default |
| ---------------- | --------- | ---------------------------------------------------------------------------------------------------------------- | :------: | :-----: |
| options | object | Go function arguments | true | - |number
| options.url | | The page URL. | true | - |Function
| options.success | | The callback function for a successful API call | false | - |Function
| options.fail | | The callback function for a failed API call | false | - |Function
| options.complete | | The callback function used when the API call completed (always executed whether the call succeeds or fails) | 否 | - |
| Function options | Yes | - |
| options.url | string | Page url | Yes | - |
| options.success | Function | Callback on success | No | - |
| options.fail | Function | Callback on fail | No | - |
| options.complete | Function` | Callback on complete | No | - |