Merge branch 'prod'
commit
23171c7f7f
|
@ -8,7 +8,7 @@
|
|||
<p>To begin with, clone the PrimeVue repository from GitHub:</p>
|
||||
<DocSectionCode :code="code1" hideToggleCode hideStackBlitz />
|
||||
<p>Then run the showcase in your local environment at <i>http://localhost:3000/</i>.</p>
|
||||
<DocSectionCode :code="code1" hideToggleCode hideStackBlitz />
|
||||
<DocSectionCode :code="code2" hideToggleCode hideStackBlitz />
|
||||
<h3>Project Structure</h3>
|
||||
<p>PrimeVue utilizes a monorepo architecture, the libraries are located at <i>packages</i> folder and the website is at <i>apps/showcase</i>.</p>
|
||||
<DocSectionCode :code="code3" hideToggleCode hideStackBlitz />
|
||||
|
|
|
@ -2,9 +2,8 @@
|
|||
<DocSectionText v-bind="$attrs">
|
||||
<h4>SASS Themes</h4>
|
||||
<p>
|
||||
The styled mode theming has been reimplemented from scratch based on an all-new architecture. The <i>theme.css</i> and the <i>primevue/resources</i> do not exist anymore, so any imports of these assets needs to be removed. Currently, Aura
|
||||
is the only available built-in preset; however, by v4 final, two more presets named Lara and Nora would be included, as well as the Material Design theme. If you had a custom theme for v3, the theme needs to be recreated using the new
|
||||
APIs. See the customization section at <NuxtLink to="/theming/styled">styled mode</NuxtLink> for details.
|
||||
The styled mode theming has been reimplemented from scratch based on an all-new architecture. The <i>theme.css</i> and the <i>primevue/resources</i> do not exist anymore, so any imports of these assets needs to be removed. If you had a
|
||||
custom theme for v3, the theme needs to be recreated using the new APIs. See the customization section at <NuxtLink to="/theming/styled">styled mode</NuxtLink> for details.
|
||||
</p>
|
||||
|
||||
<h4>Removed Components</h4>
|
||||
|
@ -18,6 +17,11 @@
|
|||
<li><i class="mark">switchTheme</i> function, use the new APIs like <i class="mark">usePreset</i> instead to dynamic theme switching.</li>
|
||||
</ul>
|
||||
|
||||
<h4>Relocated APIs</h4>
|
||||
<ul class="flex flex-col gap-2 leading-normal">
|
||||
<li>Imports from <i class="mark">primevue/api</i> have been relocated to <i class="mark">@primevue/core/api</i>.</li>
|
||||
</ul>
|
||||
|
||||
<h4>Removed Files</h4>
|
||||
<ul class="flex flex-col gap-2 leading-normal">
|
||||
<li>Themes under the <i class="mark">primevue/resources</i> path, migration to new styled mode is necessary.</li>
|
||||
|
|
Loading…
Reference in New Issue