mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Code Format
This commit is contained in:
parent
18576538e7
commit
4b1c58d771
10 changed files with 20 additions and 45 deletions
|
@ -1,21 +1,14 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs">
|
||||
<p>
|
||||
The components to import and register are defined with the <i>include</i> option using a string array. When the value is ignored
|
||||
or set using the <i>*</i> alias, all of the components are registered.
|
||||
</p>
|
||||
<p>The components to import and register are defined with the <i>include</i> option using a string array. When the value is ignored or set using the <i>*</i> alias, all of the components are registered.</p>
|
||||
<DocSectionCode :code="code1" importCode hideToggleCode hideCodeSandbox hideStackBlitz />
|
||||
<p>
|
||||
In case all components are imported, particular components can still be excluded with the <i>exclude</i> option.
|
||||
</p>
|
||||
<p>In case all components are imported, particular components can still be excluded with the <i>exclude</i> option.</p>
|
||||
<DocSectionCode :code="code2" importCode hideToggleCode hideCodeSandbox hideStackBlitz />
|
||||
<p>
|
||||
Use the <i>prefix</i> option to give a prefix to the registered component names.
|
||||
</p>
|
||||
<p>Use the <i>prefix</i> option to give a prefix to the registered component names.</p>
|
||||
<DocSectionCode :code="code3" importCode hideToggleCode hideCodeSandbox hideStackBlitz />
|
||||
<p>
|
||||
Component registration can be customized further by implementing the <i>name</i> function that
|
||||
gets an object representing the import metadata. <i>name</i> is the label of the component, <i>as</i> is the default export name and <i>from</i> is the import path.
|
||||
Component registration can be customized further by implementing the <i>name</i> function that gets an object representing the import metadata. <i>name</i> is the label of the component, <i>as</i> is the default export name and
|
||||
<i>from</i> is the import path.
|
||||
</p>
|
||||
<DocSectionCode :code="code4" importCode hideToggleCode hideCodeSandbox hideStackBlitz />
|
||||
</DocSectionText>
|
||||
|
@ -66,7 +59,7 @@ primevue: {
|
|||
}
|
||||
`
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue