This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
import{_asa,cass,agast,oasr}from"./chunks/framework.C1C4sYC0.js";constu=JSON.parse('{"title":"مهاجرت از VuePress","description":"","frontmatter":{},"headers":[],"relativePath":"fa/guide/migration-from-vuepress.md","filePath":"fa/guide/migration-from-vuepress.md","lastUpdated":1736537361000}'),o={name:"fa/guide/migration-from-vuepress.md"};functioni(n,e,d,l,c,h){returnr(),s("div",null,e[0]||(e[0]=[t(`<h1 id="مهاجرت-از-vuepress" tabindex="-1">مهاجرت از VuePress <a class="header-anchor" href="#مهاجرت-از-vuepress" aria-label="Permalink to "مهاجرت از VuePress""></a></h1><h2 id="پیکربندی" tabindex="-1">پیکربندی <a class="header-anchor" href="#پیکربندی" aria-label="Permalink to "پیکربندی""></a></h2><h3 id="نوار-کناری" tabindex="-1">نوار کناری <a class="header-anchor" href="#نوار-کناری" aria-label="Permalink to "نوار کناری""></a></h3><p>نوار کناری دیگر به طور خودکار از frontmatter پر نمیشود. شما میتوانید <a href="https://github.com/vuejs/vitepress/issues/572#issuecomment-1170116225" target="_blank" rel="noreferrer">frontmatter را خودتان بخوانید</a> تا نوار کناری به طور پویا پر شود. ابزارهای <a href="https://github.com/vuejs/vitepress/issues/96" target="_blank" rel="noreferrer">اضافی برای این منظور</a> ممکن است در آینده ارائه شود.</p><h2 id="markdown" tabindex="-1">Markdown <a class="header-anchor" href="#markdown" aria-label="Permalink to "Markdown""></a></h2><h3 id="تصاویر" tabindex="-1">تصاویر <a class="header-anchor" href="#تصاویر" aria-label="Permalink to "تصاویر""></a></h3><p>برخلاف VuePress، ویتپرس وقتی شما از تصویر استاتیک استفاده میکنید، <a href="./asset-handling#base-url"><code>base</code></a> پیکربندی شما را به طور خودکار مدیریت میکند.</p><p>بنابراین، اکنون میتوانید تصاویر را بدون استفاده از تگ <code>img</code> نمایش دهید.</p><div class="language-diff vp-adaptive-theme"><button title="کپی کد" class="copy"></button><span class="lang">diff</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#B31D28;--shiki-dark:#FDAEB7;">- <img :src="$withBase('/foo.png')" alt="foo"></span></span>
<span class="line"><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">+ </span></span></code></pre></div><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>برای تصاویر پویا، همچنان نیاز به استفاده از <code>withBase</code> به طوری که در <a href="./asset-handling#base-url">راهنمای Base URL</a> نشان داده شده است، دارید.</p></div><p>از عبارت <code>!<img.*withBase\\('(.*)'\\).*alt="([^"]*)".*></code> برای جستجو و جایگزینی با <code></code> استفاده کنید تا تمام تصاویر را با سینتکس <code></code> جایگزین کنید.</p><hr><p>ادامه دارد...</p>`,13)]))}constm=a(o,[["render",i]]);export{uas__pageData,masdefault};