Skip to content

Commit 1738fa2

Browse files
committed
docs: remove unnesesary text markers.
1 parent 99bdbc6 commit 1738fa2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/guide/inertia.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pnpm add @arkstack/inertia
1414

1515
## How it works
1616

17-
On the first visit Arkstack returns a full HTML document with the page object embedded in a `data-page` attribute. The Inertia client boots from it and, on every subsequent visit, sends an XHR with an `X-Inertia` header; the adapter replies with a JSON page object instead of HTML and the client swaps the page — no full reload.
17+
On the first visit Arkstack returns a full HTML document with the page object embedded in a `data-page` attribute. The Inertia client boots from it and, on every subsequent visit, sends an XHR with an `X-Inertia` header; the adapter replies with a JSON page object instead of HTML and the client swaps the page without doing a full reload.
1818

1919
```json
2020
{ "component": "Users/Index", "props": { ... }, "url": "/users", "version": "" }
@@ -62,7 +62,7 @@ export default (): MiddlewareConfig => {
6262
ark publish --package @arkstack/inertia
6363
```
6464

65-
This writes `src/config/inertia.ts` and a root Edge template to `src/resources/views/app.edge`. Edit the template to load your client bundle (for example, your Vite tags) it must render the <span v-pre>`{{{ inertia }}}`</span> mount element:
65+
This writes `src/config/inertia.ts` and a root Edge template to `src/resources/views/app.edge`. Edit the template to load your client bundle (for example, your Vite tags), it must render the <span v-pre>`{{{ inertia }}}`</span> mount element:
6666

6767
```edge
6868
<!DOCTYPE html>
@@ -99,7 +99,7 @@ export class UserController {
9999

100100
## Shared data
101101

102-
Share props with every response globally at boot, or per request inside a handler:
102+
Share props with every response globally at boot, or per request inside a handler:
103103

104104
```ts
105105
import { inertia } from '@arkstack/inertia';

0 commit comments

Comments
 (0)