Nuxt/lib/app
Daniel West 825d0e4c82 Configurable key property for transitions
The vue-router component can have a 'key' property which means it's easier to configure transitions between routes with slugs.

With this change in a layout template you can use
```html
<nuxt :routerViewKey="routerViewKey" />
```
And the following for example
```js
    computed: {
      routerViewKey () {
        if (this.$route.name === 'service') {
          return this.$route.name
        } else {
          return this.$route.fullPath
        }
      }
    }
```
This would implement the functionality that @myst729 mentioned here https://github.com/vuejs/vue-router/issues/474 for vue-router - some routes can just switch, but some you may want to transition as though it's a complete new page to an end-user

This is a possible resolution to issue raised here https://github.com/nuxt/nuxt.js/issues/1021
2017-07-03 18:19:29 +01:00
..
components Configurable key property for transitions 2017-07-03 18:19:29 +01:00
layouts Cleaner structure 2017-06-18 12:06:00 +04:30
views Cleaner structure 2017-06-18 12:06:00 +04:30
App.vue Cleaner structure 2017-06-18 12:06:00 +04:30
client.js feat: Add dynamic component injection + example 2017-07-02 20:47:01 +02:00
index.js depricated ~ in flavour of @ for aliases 2017-06-29 21:06:22 +04:30
middleware.js depricated ~ in flavour of @ for aliases 2017-06-29 21:06:22 +04:30
router.js depricated ~ in flavour of @ for aliases 2017-06-29 21:06:22 +04:30
server.js feat: Add dynamic component injection + example 2017-07-02 20:47:01 +02:00
store.js depricated ~ in flavour of @ for aliases 2017-06-29 21:06:22 +04:30
utils.js Cleaner structure 2017-06-18 12:06:00 +04:30