Skip to content

Commit 95e9db4

Browse files
committed
docs: remove excess whitespace
1 parent 7de2651 commit 95e9db4

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

docs/guide/configurations.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ In addition to [axios request options](https://github.com/axios/axios#request-co
133133
Using the `dataTransformer` option will ignore any `dataKey` option.
134134
:::
135135

136-
- **See also**: [Transforming Data](usage.md#transforming-data)
136+
**See also**: [Transforming Data](usage.md#transforming-data)
137137

138138
### `save`
139139

@@ -144,7 +144,7 @@ In addition to [axios request options](https://github.com/axios/axios#request-co
144144

145145
By setting this option to `false`, the response data will not be persisted and you will have to handle persistence alternatively. The `entities` property in the [Response](usage.md#handling-responses) object will also be `null` since it will no longer be persisting data automatically.
146146

147-
- **See also**: [Deferring Persistence](usage.md#deferring-persistence)
147+
**See also**: [Deferring Persistence](usage.md#deferring-persistence)
148148

149149
### `delete`
150150

@@ -155,7 +155,7 @@ In addition to [axios request options](https://github.com/axios/axios#request-co
155155

156156
Setting this option will ignore any `save` options you may have set and therefore persistence is not possible when using this option.
157157

158-
- **See also**: [Delete Requests](usage.md#delete-requests)
158+
**See also**: [Delete Requests](usage.md#delete-requests)
159159

160160
### `actions`
161161

docs/guide/setup.md

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ You may also configure additional options during installation. See all available
1818

1919
Here is an example that demonstrates a typical setup of Vuex ORM together with the plugin.
2020

21-
2221
```js
2322
import axios from 'axios'
2423
import Vuex from 'vuex'

docs/guide/usage.md

-8
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ For example, a `User` model may typically want to fetch all users and persist th
88
await User.api().get('https://example.com/api/users')
99
```
1010

11-
1211
## Performing Requests
1312

1413
Vuex ORM Axios supports the most commonly used [axios request methods](https://github.com/axios/axios#request-method-aliases). These methods accept the same argument signature as their axios counterparts with the exception that the config can be expanded with additional plugin [options](configurations).
1514

16-
1715
### Supported Methods
1816

1917
Here is a list of supported request methods:
@@ -33,7 +31,6 @@ Arguments given are passed on to the corresponding axios request method.
3331
- `data` is the data to be sent as the request body (where applicable).
3432
- `config` is the plugin [config options](configurations) and also any valid [axios request config](https://github.com/axios/axios#request-config) options.
3533

36-
3734
### Request Configuration
3835

3936
You can pass any of the plugin's options together with any axios request options for a request method.
@@ -55,7 +52,6 @@ The [`dataKey`](configurations.md#datakey) is a plugin option which informs the
5552
5653
**See also**: [Configurations](configurations)
5754

58-
5955
### Persisting Response Data
6056

6157
By default, the response data from a request is automatically saved to the store corresponding to the model the request is made on.
@@ -105,7 +101,6 @@ If you do not want to persist response data automatically, you can defer persist
105101
- [Deferring Persistence](#deferring-persistence)
106102
- [Vuex ORM - Insert or Update](https://vuex-orm.org/guide/data/inserting-and-updating.html#insert-or-update)
107103

108-
109104
### Delete Requests
110105

111106
::: warning
@@ -122,7 +117,6 @@ User.api().delete('/api/users/1'), {
122117

123118
**See also**: [Configurations - delete](configurations.md#delete)
124119

125-
126120
## Handling Responses
127121

128122
Every request performed will return a `Response` object as the resolved value. This object is responsible for carrying and handling the response body and ultimately executing actions such as persisting data to the store.
@@ -146,7 +140,6 @@ result.entities // { users: [{ ... }] }
146140

147141
**See also**: [API Reference - Response](../api/response.md)
148142

149-
150143
### Transforming Data
151144

152145
You can configure the plugin to perform transformation on the response data, using the `dataTransformer` configuration option, before it is persisted to the store.
@@ -179,7 +172,6 @@ User.api().get('/api/users', {
179172

180173
**See also**: [Configurations - dataTransformer](configurations.md#datatransformer)
181174

182-
183175
### Deferring Persistence
184176

185177
By default, the response data from a request is automatically saved to the store but this may not always be desired.

0 commit comments

Comments
 (0)