mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Merge pull request #40 from VictorTolbert/minor-fixes
Fix markdown table and typo
This commit is contained in:
commit
b0c308f1b1
@ -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 |
|
||||
|------|------------|-----|---------|------------|
|
||||
|
@ -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:
|
||||
|
||||
| Method | Required | Description |
|
||||
|--------|-------------|
|
||||
|--------|----------|-------------|
|
||||
| `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. |
|
||||
| `fail()` | *Optional* | Called when a route could not be loaded (failed to fetch data for example). |
|
||||
|
Loading…
Reference in New Issue
Block a user