Nuxt.js: Vue Meta config is lost when we refresh page in mode:spa

Created on 3 Sep 2017  路  8Comments  路  Source: nuxt/nuxt.js

Hi!

When we refresh a page nuxt set vue meta config from nuxt.config.js instead of page or layout.

Version

"nuxt": "^1.0.0-rc8"

Steps to reproduce

nuxt.config.js
mode:spa

nuxt.config.js
image

pages/index.vue
image

Refresh page - index.vue
image

Hotreload - Change anything in index.vue and wait hot-reload
image

Expected result

Priority of Vue Meta Config when he load the page or refresh page:

  1. Page vue
  2. Layout vue
  3. nuxt.config.js

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

All 8 comments

+1

+1

@pi0 Hi man!

Can you give a tip to how fix (or my fault) this issue?

Thanks in advanced man xD !

Hi. It will be fixed with 1fcf3e685ec0bee7079c984cdd0cfa6a80e8be2d in nuxt rc.9 :)

+1 I was about to post the exact same issue :) Thanks

Thanks @pi0 !

verify fixed in rc 9

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

vadimsg picture vadimsg  路  3Comments

bimohxh picture bimohxh  路  3Comments

bimohxh picture bimohxh  路  3Comments

lazycrazy picture lazycrazy  路  3Comments

msudgh picture msudgh  路  3Comments