Data not accessible through 'head' method in defineNuxtComponent
See original GitHub issueEnvironment
- Operating System:
Darwin
- Node Version:
v15.5.0
- Nuxt Version:
3.0.0-rc.6
- Package Manager:
yarn@1.22.10
- Builder:
vite
- User Config:
head
,modules
,buildModules
,css
,build
- Runtime Modules:
@vueuse/motion/nuxt@2.0.0-beta.18
,@nuxtjs/strapi@1.5.0
- Build Modules:
-
Reproduction
https://stackblitz.com/edit/github-uqkrfk?file=app.vue
Describe the bug
The title is not filled with the variable, but it works when applying a title without variable.
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How can I access HEAD data in component with nuxt?
Another solution I found is write a middleware that handle route.meta and populate the store. But again, it looks overcomplicated... – ManUtopiK.
Read more >Nuxt Configuration Reference
The value of this object is accessible from server only using useRuntimeConfig . It mainly should hold private configuration which is not exposed...
Read more >props of component defined with defineNuxtComponent not ...
Nuxt.js 3: props of component defined with defineNuxtComponent not resolved. 1. Is duplicated by 1. Is duplicated by 1 issue (0 unresolved).
Read more >Data Fetching - 《Nuxt 3 beta Documentation》 - 书栈网
In other words, the async function does not block navigation. ... useRequestHeaders to access and proxy cookies to the API from server-side.
Read more >Views - NuxtJS
The Views section describes all you need to configure data and views for a specific ... More information about the head method are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ennioVisco you are absolutely right, but it would require to use the composition API that I don’t like at all
@danielroe yeah I used this method instead, thank you