Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

titleTemplate with function not working #1886

Closed
homerjam opened this issue Oct 18, 2017 · 5 comments
Closed

titleTemplate with function not working #1886

homerjam opened this issue Oct 18, 2017 · 5 comments

Comments

@homerjam
Copy link

homerjam commented Oct 18, 2017

The following in nuxt.config doesn't work as expected:

titleTemplate: titleChunk => titleChunk ? `${titleChunk} - Nuxt.js` : 'Nuxt.js',

I think it might have something to do with the options not being brought into vue-meta properly ie. maybe options are being cloned in a way which removes functions?

PR with failing test: #1961

This bug report is available on Nuxt.js community (#c1691)
@Atinux
Copy link
Member

Atinux commented Oct 27, 2017

I will take a look at it, I believe it comes from the last version of vue-meta.

@Atinux
Copy link
Member

Atinux commented Oct 28, 2017

Fixed in bf72a35

Release coming soon :)

@Atinux
Copy link
Member

Atinux commented Nov 2, 2017

#1886

@benmccallum
Copy link

Nice one, had this issue too and always nice to see an issue already logged and in this case even fixed pending deployment. 👍

@clarkdo clarkdo closed this as completed Jan 10, 2018
@lock
Copy link

lock bot commented Nov 2, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 2, 2018
@danielroe danielroe added the 2.x label Jan 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants