Merge pull request #691 from korzhyk/master

Add linkExactActiveClass to router options
This commit is contained in:
Sébastien Chopin 2017-05-11 13:49:51 +02:00 committed by GitHub
commit 7e018ff8ad
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ export function createRouter () {
mode: '<%= router.mode %>',
base: '<%= router.base %>',
linkActiveClass: '<%= router.linkActiveClass %>',
linkExactActiveClass: '<%= router.linkExactActiveClass %>',
scrollBehavior,
routes: [
<%= _routes %>

View File

@ -37,6 +37,7 @@ class Nuxt {
base: '/',
middleware: [],
linkActiveClass: 'nuxt-link-active',
linkExactActiveClass: 'nuxt-link-exact-active',
extendRoutes: null,
scrollBehavior: null
},