Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

docs: make titleTemplate function form example clearer #4616

Merged
merged 2 commits into from
Apr 26, 2022
Merged

docs: make titleTemplate function form example clearer #4616

merged 2 commits into from
Apr 26, 2022

Conversation

riddla
Copy link
Contributor

@riddla riddla commented Apr 26, 2022

❓ Type of change

  • [ x] πŸ“– Documentation (updates to the documentation or readme)

πŸ“š Description

I was confused when trying the second "function form" of the titleTemplate as follows:

useHead({
  title => `My App - ${title}`
})

Which obviously make no sense, but it took a while to get head (Pun intended!) around the current documentation.
Maybe my change makes it clearer for others?

I was confused when trying the second "function form" of the `titleTemplate` as follows:

```vue
useHead({
  title => `My App - ${title}`
})
```

Which obviously make no sense, but it took a while to get head (Pun intended!) around the current documentation.
Maybe my change makes it clearer for others?
@netlify
Copy link

netlify bot commented Apr 26, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit d1c4f3c
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/6267c4b100dba50009215445
😎 Deploy Preview https://deploy-preview-4616--nuxt3-docs.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@atinux atinux merged commit d012eff into nuxt:main Apr 26, 2022
@pi0 pi0 mentioned this pull request May 2, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants