Clarify global components #561
-
As someone unfamiliar with https://vitepress.vuejs.org/guide/global-component.html For
What is meant by custom directive? As well as for
What is meant by "has been followed by every external link"? If someone would help explain these two sentences I would submit a PR with improved descriptions. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
from https://vuejs.org/guide/reusability/custom-directives.html
Built in directives include things such as
|
Beta Was this translation helpful? Give feedback.
-
for the curious https://github.com/vuejs/vitepress/tree/main/src/client/theme-default/components/icons |
Beta Was this translation helpful? Give feedback.
from https://vuejs.org/guide/reusability/custom-directives.html
Built in directives include things such as
v-if
v-else
that conditionally render DOM elements or others to "inject" data into their attributes and of course much more. If you create your own custom directives they should follow certain rules to work with SSR.OutboundLink
is a small component that simply renders an SVG icon after an external link, that is it "follows" the generated<a>
link element.That's indeed a weired description that tells noth…