-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sfc-syntax-specification #145
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/api/sfc-spec.md
Outdated
|
||
- Contents will be extracted and passed on to `@vue/compiler-dom`, pre-compiled into JavaScript render functions, and attached to the exported component as its `render` option. | ||
- محتویات این بلوک استخراج و به `vue/compiler-dom@` منتقل میشوند، از قبل در توابع رندر جاوا اسکریپت کامپایل میشوند و بهعنوان گزینه `render` به کامپوننت صادر شده پیوست میشوند. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- محتویات این بلوک استخراج و به `vue/compiler-dom@` منتقل میشوند، از قبل در توابع رندر جاوا اسکریپت کامپایل میشوند و بهعنوان گزینه `render` به کامپوننت صادر شده پیوست میشوند. | |
- محتویات این بلوک استخراج و به `vue/compiler-dom@` منتقل میشوند، از قبل در توابع رندر جاوا اسکریپت کامپایل میشوند و بهعنوان آپشن `render` به کامپوننت صادر شده پیوست میشوند. |
src/api/sfc-spec.md
Outdated
|
||
Handling of Custom Blocks will depend on tooling - if you want to build your own custom block integrations, see the [SFC custom block integrations tooling section](/guide/scaling-up/tooling#sfc-custom-block-integrations) for more details. | ||
## استنتاج خودکار نام {#automatic-name-inference} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## استنتاج خودکار نام {#automatic-name-inference} | |
## پیشبینی خودکار نام {#automatic-name-inference} |
src/api/sfc-spec.md
Outdated
An SFC automatically infers the component's name from its **filename** in the following cases: | ||
- قالب بندی هشدار توسعه (Dev warning formatting) | ||
- بازرسی DevTools یا (DevTools inspection) | ||
- ارجاع بازگشتی به خود، به عنوان مثال فایلی به نام `FooBar.vue` میتواند در قالب خود به `<FooBar/>` اشاره کند. این اولویت کمتری نسبت به کامپوننت های صریحا ثبتشده/ایمپورت شده دارد. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- ارجاع بازگشتی به خود، به عنوان مثال فایلی به نام `FooBar.vue` میتواند در قالب خود به `<FooBar/>` اشاره کند. این اولویت کمتری نسبت به کامپوننت های صریحا ثبتشده/ایمپورت شده دارد. | |
- ارجاع بازگشتی به خود، به عنوان مثال فایلی به نام `FooBar.vue` میتواند در تمپلیت خود به `<FooBar/>` اشاره کند. این اولویت کمتری نسبت به کامپوننت های صریحا ثبتشده/ایمپورت شده دارد. |
src/api/sfc-spec.md
Outdated
An SFC automatically infers the component's name from its **filename** in the following cases: | ||
- قالب بندی هشدار توسعه (Dev warning formatting) | ||
- بازرسی DevTools یا (DevTools inspection) | ||
- ارجاع بازگشتی به خود، به عنوان مثال فایلی به نام `FooBar.vue` میتواند در قالب خود به `<FooBar/>` اشاره کند. این اولویت کمتری نسبت به کامپوننت های صریحا ثبتشده/ایمپورت شده دارد. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- ارجاع بازگشتی به خود، به عنوان مثال فایلی به نام `FooBar.vue` میتواند در قالب خود به `<FooBar/>` اشاره کند. این اولویت کمتری نسبت به کامپوننت های صریحا ثبتشده/ایمپورت شده دارد. | |
- ارجاع بازگشتی به خود، به عنوان مثال فایلی به نام `FooBar.vue` میتواند در تمپلیت خود به `<FooBar/>` اشاره کند. این اولویت کمتری نسبت به کامپوننت های صریحا ثبتشده/ایمپورت شده دارد. |
Thank you for your corrections 🙏🏻 |
Thank you. |
No description provided.