Nuxt.js: Links pointing to / always receive the nuxt-link-active class

Created on 4 Apr 2017  路  3Comments  路  Source: nuxt/nuxt.js

For some reason, all nuxt-link pointing to / will receive the nuxt-link-active class regardless they're active or not.

captura de pantalla 2017-04-04 a las 00 16 51

In the screenshot above, "Novedades" points to / and is active when the url path matches /bio. The rendered DOM looks like:

captura de pantalla 2017-04-04 a las 00 19 06

Notice both links have the navigation__item--active class.

I'm also able to reproduce it in the head elements demo.

This question is available on Nuxt.js community (#c443)

Most helpful comment

All 3 comments

@ausir0726 thanks for pointing that out! (and sorry for not RTFM 馃槄)

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mattdharmon picture mattdharmon  路  3Comments

surmon-china picture surmon-china  路  3Comments

shyamchandranmec picture shyamchandranmec  路  3Comments

uptownhr picture uptownhr  路  3Comments

nassimbenkirane picture nassimbenkirane  路  3Comments