mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Fix markdown table and typo
This commit is contained in:
parent
bf242f924a
commit
2ad9951a71
@ -11,7 +11,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
`cache` can be a Boolean of an Object, if an object, you can use theses keys:
|
`cache` can be a Boolean or an Object, if an object, you can use theses keys:
|
||||||
|
|
||||||
| key | Optional? | Type | Default | definition |
|
| key | Optional? | Type | Default | definition |
|
||||||
|------|------------|-----|---------|------------|
|
|------|------------|-----|---------|------------|
|
||||||
|
@ -41,7 +41,7 @@ You can create your own component that Nuxt.js will call instead of its default
|
|||||||
Your custom component will be called by Nuxt.js, so make sure your component exposes some of theses methods:
|
Your custom component will be called by Nuxt.js, so make sure your component exposes some of theses methods:
|
||||||
|
|
||||||
| Method | Required | Description |
|
| Method | Required | Description |
|
||||||
|--------|-------------|
|
|--------|----------|-------------|
|
||||||
| `start()` | Required | Called when a route changes, this is here where you should show your component. |
|
| `start()` | Required | Called when a route changes, this is here where you should show your component. |
|
||||||
| `finish()` | Required | Called when a route is loaded (and data fetched), this is here where you should hide your component. |
|
| `finish()` | Required | Called when a route is loaded (and data fetched), this is here where you should hide your component. |
|
||||||
| `fail()` | *Optional* | Called when a route could not be loaded (failed to fetch data for example). |
|
| `fail()` | *Optional* | Called when a route could not be loaded (failed to fetch data for example). |
|
||||||
|
Loading…
Reference in New Issue
Block a user