Update auto import docs
parent
8d501b9aa8
commit
a1097de2f8
|
@ -1,8 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs">
|
<DocSectionText v-bind="$attrs">
|
||||||
<p>
|
<p>A complete example using PrimeVue with auto imports is available at the <NuxtLink to="/playground">playground</NuxtLink>.</p>
|
||||||
A complete example using a PrimeVue and unplugin is available at <a href="https://github.com/primefaces/primevue-examples/tree/main/auto-import" rel="noopener noreferrer">primevue-examples</a> repository. You can also view this sample
|
|
||||||
live at <a href="https://stackblitz.com/edit/vitejs-vite-cbjzs7?file=vite.config.ts" target="_blank" rel="noopener noreferrer">Stackblitz</a>.
|
|
||||||
</p>
|
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs">
|
<DocSectionText v-bind="$attrs">
|
||||||
<p>
|
<p>
|
||||||
Each component can be imported and registered individually so that you only bundle what you use. Import path is available in the documentation of the corresponding component. If you prefer importing components manually, view the
|
Each component can be imported and registered individually so that you only bundle what you use. Import path is available in the documentation of the corresponding component. If you prefer importing components automatically with
|
||||||
|
tree-shaking support , view the
|
||||||
<NuxtLink to="/autoimport">autoimport</NuxtLink> guide.
|
<NuxtLink to="/autoimport">autoimport</NuxtLink> guide.
|
||||||
</p>
|
</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<template>
|
<template>
|
||||||
<Head>
|
<Head>
|
||||||
<Title>Auto Import - PrimeVue</Title>
|
<Title>Auto Import - PrimeVue</Title>
|
||||||
<Meta name="description" content="On-demand PrimeVue components with auto importing." />
|
<Meta name="description" content="On-demand PrimeVue components with auto imports and tree-shaking." />
|
||||||
</Head>
|
</Head>
|
||||||
<div class="doc">
|
<div class="doc">
|
||||||
<div class="doc-main">
|
<div class="doc-main">
|
||||||
<div class="doc-intro">
|
<div class="doc-intro">
|
||||||
<h1>Auto Import</h1>
|
<h1>Auto Import</h1>
|
||||||
<p>On-demand PrimeVue components with auto importing.</p>
|
<p>On-demand PrimeVue components with auto imports and tree-shaking.</p>
|
||||||
</div>
|
</div>
|
||||||
<DocSections :docs="docs" />
|
<DocSections :docs="docs" />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue