Defining `head` property in Nuxt
See original GitHub issueAs you probably know, in @nuxtjs/composition-api
you must add an empty head: {}
to use the useMeta
composition function.
Maybe it’s going over my head but, is there any way at the moment to do this with <script setup>
?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
The head Property - Nuxt
The head property. Nuxt let you define all default meta for your application inside nuxt.config.js , use the same head property ...
Read more >SEO in Nuxt.js with the Head Property - DEV Community
1) Use the nuxt.config. · 2) Add the head method as an object to your script tag in your page. This is a...
Read more >API: The head Property - Nuxt.js
Nuxt.js let you define all default meta for your application inside nuxt.config.js.
Read more >SEO and Meta · Get Started with Nuxt
Providing an app.head property in your nuxt.config.ts allows you to customize the head for your entire app. This method does not allow you...
Read more >nuxt.js - How to get config head setting to set page og:title in ...
head property in the nuxt.config.js is for adding general head elements to all your pages. If you want to store a global configuration ......
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
<script setup>
allow the co-existence with the normal<script>
, meaning you can use this as a current workaround:/cc @danielroe do you see if there is a way to by pass this limitation or we have to do that in compile time?
I worked it out for now