Merge branch 'prod'

pull/6142/head
Cagatay Civici 2024-07-29 14:32:52 +03:00
commit 23171c7f7f
2 changed files with 8 additions and 4 deletions

View File

@ -8,7 +8,7 @@
<p>To begin with, clone the PrimeVue repository from GitHub:</p> <p>To begin with, clone the PrimeVue repository from GitHub:</p>
<DocSectionCode :code="code1" hideToggleCode hideStackBlitz /> <DocSectionCode :code="code1" hideToggleCode hideStackBlitz />
<p>Then run the showcase in your local environment at <i>http://localhost:3000/</i>.</p> <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> <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> <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 /> <DocSectionCode :code="code3" hideToggleCode hideStackBlitz />

View File

@ -2,9 +2,8 @@
<DocSectionText v-bind="$attrs"> <DocSectionText v-bind="$attrs">
<h4>SASS Themes</h4> <h4>SASS Themes</h4>
<p> <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 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
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 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.
APIs. See the customization section at <NuxtLink to="/theming/styled">styled mode</NuxtLink> for details.
</p> </p>
<h4>Removed Components</h4> <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> <li><i class="mark">switchTheme</i> function, use the new APIs like <i class="mark">usePreset</i> instead to dynamic theme switching.</li>
</ul> </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> <h4>Removed Files</h4>
<ul class="flex flex-col gap-2 leading-normal"> <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> <li>Themes under the <i class="mark">primevue/resources</i> path, migration to new styled mode is necessary.</li>