forked from alpinejs/alpine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
acf9d66
commit 160d938
Showing
16 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,12 +48,12 @@ | |
|
||
سيقوم Alpine.js بتهيئة نفسه، سهلة أليس كذلك! | ||
|
||
في بيئات التطوير، نوصي باستعمال إصدار محدّد كما في الرابط، لتجنب حدوث مشاكل غير متوقعة أو تصادمها مع الإصدارات الحديثة. على سبيل المثال، لاستخدام الإصدار الأخير (2.8.1) يمكنك كتابة: | ||
في بيئات التطوير، نوصي باستعمال إصدار محدّد كما في الرابط، لتجنب حدوث مشاكل غير متوقعة أو تصادمها مع الإصدارات الحديثة. على سبيل المثال، لاستخدام الإصدار الأخير (2.8.2) يمكنك كتابة: | ||
|
||
<div dir="ltr"> | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,9 +34,9 @@ Unsere Philosophie erinnert dich vielleicht an [Tailwind](https://tailwindcss.co | |
Das wars. Die Initialisierung passiert automatisch. | ||
|
||
Für die Produktionsumgebung wird empfohlen, den Link mit einer spezifischen Versionsnummer zu versehen. Somit kann präventiv sichergestellt werden, dass keine unerwarteten Fehler durch Versionsaktualisierungen zustande kommen. | ||
Als Beispiel wird hier die (letzte) Version `2.8.1` spezifiziert: | ||
Als Beispiel wird hier die (letzte) Version `2.8.2` spezifiziert: | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
**Über npm:** Installiere das Paket über npm. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ Podríamos considerarlo como un [Tailwind](https://tailwindcss.com/) para JavaSc | |
|
||
Eso es todo. Se inicializará solo. | ||
|
||
Para entornos de producción, se recomienda especificar una número de versión en concreto en el enlace para evitar comportamientos inesperados que puedan romper las nuevas versiones. Por ejemplo, para usar la versión `2.8.1` (la última): | ||
Para entornos de producción, se recomienda especificar una número de versión en concreto en el enlace para evitar comportamientos inesperados que puedan romper las nuevas versiones. Por ejemplo, para usar la versión `2.8.2` (la última): | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
**Desde npm:** Instalar el paquete desde npm. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,9 +35,9 @@ C'est un peu le [Tailwind](https://tailwindcss.com/) du JavaScript. | |
C'est tout. L'initialisation est automatique. | ||
|
||
Dans les environnements de production, il est recommandé d'inscrire un numéro de version spécifique dans le lien, afin d'éviter qu'une nouvelle version ne provoque un comportement inattendu. | ||
Par exemple, pour utiliser la version `2.8.1` (la dernière) : | ||
Par exemple, pour utiliser la version `2.8.2` (la dernière) : | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
**Avec npm :** Installer le paquet avec npm. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,9 +34,9 @@ Anggap saja seperti [Tailwind](https://tailwindcss.com/) untuk JavaScript. | |
|
||
Itu saja. Itu akan menginisialisasi dirinya sendiri. | ||
|
||
Untuk lingkungan produksi, disarankan untuk memasang pin pada nomor versi tertentu di link untuk menghindari kerusakan yang tidak terduga dari versi yang lebih baru. Misalnya, untuk menggunakan versi `2.8.1` (terbaru): | ||
Untuk lingkungan produksi, disarankan untuk memasang pin pada nomor versi tertentu di link untuk menghindari kerusakan yang tidak terduga dari versi yang lebih baru. Misalnya, untuk menggunakan versi `2.8.2` (terbaru): | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
**Dari NPM:** Instal paket dari NPM. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ DOM を保持し、適切な動作を施すことができます。 | |
|
||
**CDNより:** `<head>` セクションの最後に次のスクリプトを追加します。 | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.js" defer></script> | ||
``` | ||
|
||
それだけです。初期は自身で行われます。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,9 @@ JavaScript용 [Tailwind](https://tailwindcss.com/)라고 생각하시면 됩니 | |
그것으로 끝입니다. 자체적으로 초기화됩니다. | ||
|
||
프로덕션 환경의 경우 최신 버전의 예상치 못한 문제를 방지하기 위해 링크에 특정 버전 번호를 설정하는 것이 좋습니다. | ||
예를 들어 `2.8.1` 버전 사용: | ||
예를 들어 `2.8.2` 버전 사용: | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
**NPM 사용:** NPM에서 패키지를 설치합니다. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,9 +39,9 @@ Think of it like [Tailwind](https://tailwindcss.com/) for JavaScript. | |
That's it. It will initialize itself. | ||
|
||
For production environments, it's recommended to pin a specific version number in the link to avoid unexpected breakage from newer versions. | ||
For example, to use version `2.8.1` (latest): | ||
For example, to use version `2.8.2` (latest): | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
**From npm:** Install the package from npm. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,10 @@ Pensem nisso como o [Tailwind](https://tailwindcss.com/) para JavaScript. | |
E é isso. Ele vai se inicializar. | ||
|
||
Para ambiente de produção, é recomendado fixar o número da versão específico no link para evitar problemas inesperadas das versões mais recentes. | ||
Por exemplo, para usar a versão `2.8.1`: | ||
Por exemplo, para usar a versão `2.8.2`: | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
**Via npm:** Instale o pacote pelo npm. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,9 @@ Alpine.js предоставляет реактивность и деклара | |
Вот и всё. Он инициализируется самостоятельно. | ||
|
||
Для рабочего окружения рекомендуется использовать ссылку с конкретным номером версии, чтобы избежать неожиданных поломок после выпуска новых версий. | ||
Например, чтобы использовать версию `2.8.1`: | ||
Например, чтобы использовать версию `2.8.2`: | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
**С помощью npm:** Установите пакет из npm. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,9 +35,9 @@ Bunu [Tailwind](https://tailwindcss.com/) 'ın JavaScript versiyonu olarak düş | |
İşte bu kadar. Kendini başlatması için yeterli. | ||
|
||
Gerçek ortamda kullanırken yeni çıkan sürümlerden kaynaklanabilecek bozukluklardan kaçınmak için bağlantıda versiyon numarasını tam olarak belirtmek önerilir. | ||
Örneğin, `2.8.1` (son sürüm) sürümünü kullanmak için: | ||
Örneğin, `2.8.2` (son sürüm) sürümünü kullanmak için: | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
**Npm ile:** Npm kullanarak paketi yükleyin. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,9 @@ Alpine.js 通过很低的成本提供了于 Vue 或 React 这类大型框架相 | |
就是这样,Alpine.js 会自行初始化。 | ||
|
||
生产环境中,建议在链接中锁定特定版本号,以此避免新版本中的变更造成问题。 | ||
例如,锁定版本为 `2.8.1` (最新版本): | ||
例如,锁定版本为 `2.8.2` (最新版本): | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
**使用 npm:** 从 npm 安装依赖包。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,9 @@ Alpine.js 提供了 Vue 與 React 等大框架的互動式與宣告式的功能 | |
就這樣。Alpine.js 會自行初始化。 | ||
|
||
在正式環境中,建議在連結中固定特定版本,以避免新版本使功能無法使用。 | ||
如,要使用 `2.8.1` 版則可以這樣寫: | ||
如,要使用 `2.8.2` 版則可以這樣寫: | ||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].1/dist/alpine.min.js" defer></script> | ||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected].2/dist/alpine.min.js" defer></script> | ||
``` | ||
|
||
**使用 npm:** 從 npm 安裝套件。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters