When will head function be supported?
See original GitHub issueI am using version 2.3.0
with Nuxt 2.13.3 - I am using a Head function in nuxt.config.js
Googling reveals that a PR was merged to fix notify users of this exact issue https://github.com/nuxt-community/gtm-module/issues/14
[@nuxtjs/gtm] head is provided as a function which is not supported by this module at the moment. Removing user-provided head.
Will this issue be fixed?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:6 (1 by maintainers)
Top Results From Across the Web
The head() and tail() function in R - Detailed Reference
The head() function in R is used to display the first n rows present in the input data frame. In this section, we...
Read more >What are head and tail functions in pandas? - Educative.io
The head function in Python displays the first five rows of the dataframe by default. It takes in a single parameter: the number...
Read more >HEAD - HTTP - MDN Web Docs
The HTTP HEAD method requests the headers that would be returned if the HEAD request's URL was instead requested with the HTTP GET...
Read more >REST: Should HEAD always be supported when GET is?
All general-purpose servers MUST support the methods GET and HEAD. All other methods are OPTIONAL. This does not mean that your api must...
Read more >head: Return the First or Last Parts of an Object - Rdrr.io
Returns the first or last parts of a vector, matrix, table, data frame or function. Since head() and tail() are generic functions, they...
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
First of all, thank you for your reply. I fixed this warning message but how? I fixed my head options as object again thanks for the reply
Hi. Actually head as function will be removed for nuxt3 because of limitations it brings. You can alternatively put same logic in layout files 😃
More context: the function from
nuxt.config
, will be serialized to app template. in order to override it at module level, we need to change the AST or put it in a wrapper function which adds more overhead.