Conversation
✅ Deploy Preview for nuxt3-docs canceled.
|
<Script> and <Link>
|
Shall we narrow down the accepted values for the |
💪🏽 |
|
Sorry, I have copied the code from #6262 for adding typings for |
<Script> and <Link><Script> and <Link> and minor improvements in types :)
<Script> and <Link> and minor improvements in types :)<Script> and <Link> and minor improvements in types :)
|
Great enhancement! I have closed #6262 in favor of your changes. There are two remarks that I've got:
|
<img crossorigin />is easier than <img crossorigin="" />And even browser parse the html with crossorigin attr empty string as |
I am sorry if I am wrong :( |
|
All I am thinking is whether the following would be preferable: Let's wait for others to express their thoughts, not sure which way to go :) |
Ok 🙌 |
type LinkRelationship =
| "alternate"
| "author"
| "canonical"
| "dns-prefetch"
| "help"
| "icon"
| "license"
| "manifest"
| "me"
| "modulepreload"
| "next"
| "pingback"
| "preconnect"
| "prefetch"
| "preload"
| "prerender"
| "prev"
| "search"
| "stylesheet"
| String;Added types for |
Yeah sure 🙌 |
|
Made suggested change (not sure) 😄 |
<Script> and <Link> and minor improvements in types :)fetchpriority attribute to the <Script> and <Link> components
danielroe
left a comment
There was a problem hiding this comment.
Really nice enhancement - thanks! ❤️
fetchpriority attribute to the <Script> and <Link> componentsfetchpriority attribute and literal typings for meta components
My pleasure 💪🙌 |
Added fetchpriority attr in script and link component.