Skip to content

Commit 98dfd92

Browse files
committed
docs(vi): Update Vietnamese for Installation Page
1 parent 56e308d commit 98dfd92

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

www/src/pages/vi/installation.mdx

+31-30
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
title: Installation
3-
description: Installation instructions for Create T3 App
2+
title: Cài đặt
3+
description: Hướng dẫn cài đặt Create T3 App
44
layout: ../../layouts/docs.astro
5-
lang: en
5+
lang: vi
66
isMdx: true
77
---
88

99
import Callout from "../../components/docs/callout.tsx";
1010

11-
To scaffold an app using `create-t3-app`, run any of the following commands and answer the command prompt questions:
11+
Để khởi tạo một ứng dụng sử dụng `create-t3-app`, hãy chạy bất kỳ lệnh sau đây và trả lời các câu hỏi của được đưa ra:
1212

1313
### npm
1414

@@ -34,49 +34,50 @@ pnpm create t3-app@latest
3434
bun create t3-app@latest
3535
```
3636

37-
After your app has been scaffolded, check out the [first steps](/en/usage/first-steps) to get started on your new application.
37+
Sau khi ứng dụng của bạn đã được khởi tạo, hãy đọc [bước đầu tiên](/vi/usage/first-steps) để bắt đầu phát triển ứng dụng mới của bạn.
3838

39-
## Advanced usage
39+
## Sử dụng nâng cao
4040

41-
| Option/Flag | Description |
42-
| ----------------- | ----------------------------------------------------------------------- |
43-
| `[dir]` | Include a directory argument with a name for the project |
44-
| `--noGit` | Explicitly tell the CLI to not initialize a new git repo in the project |
45-
| `-y`, `--default` | Bypass the CLI and bootstrap a new t3-app with all options selected |
46-
| `--noInstall` | Generate project without installing dependencies |
41+
| Tùy chọn | Mô tả |
42+
| ----------------- | ---------------------------------------------------------------- |
43+
| `[dir]` | Bao gồm đối số thư mục với tên cho dự án |
44+
| `--noGit` | Không khởi tạo repo git mới trong dự án |
45+
| `-y`, `--default` | Bỏ qua câu hỏi và khởi tạo dự án mới với tất cả tùy chọn đã chọn |
46+
| `--noInstall` | Tạo dự án mà không cài đặt các thư viện đi kèm |
4747

48-
## Experimental usage
48+
## Sử dụng với những tùy chọn thử nghiệm
4949

50-
For our CI, we have some experimental flags that allow you to scaffold any app without any prompts. If this use case applies to you, you can use these flags. Please note that these flags are experimental and may change in the future without following semver versioning.
50+
Đối với CI của chúng tôi, chúng tôi cung cấp một số tùy chọn thử nghiệm cho phép bạn khởi tạo bất kỳ ứng dụng nào mà không cần bất kỳ câu hỏi nào. Nếu trường hợp này áp dụng cho bạn, bạn có thể sử dụng các tùy chọn này. Xin lưu ý rằng chúng tôi đang thử nghiệm các tùy chọn này và có thể thay đổi trong tương lai mà không tuân theo phiên bản semver.
5151

52-
| Flag | Description |
53-
| ------------------------- | -------------------------------------------- |
54-
| `--CI` | Let the CLI know you're in CI mode |
55-
| `--trpc` | Include tRPC in the project |
56-
| `--prisma` | Include Prisma in the project |
57-
| `--drizzle` | Include Drizzle in the project |
58-
| `--nextAuth` | Include NextAuth.js in the project |
59-
| `--tailwind` | Include Tailwind CSS in the project |
60-
| `--dbProvider [provider]` | Include a configured database in the project |
61-
| `--appRouter` | Use Next.js App Router in the project |
52+
| Tùy chọn | Mô tả |
53+
| ------------------------- | ------------------------------------------------ |
54+
| `--CI` | Cho phép CLI biết bạn đang ở trong môi trường CI |
55+
| `--trpc` | Sử dụng tRPC trong dự án |
56+
| `--prisma` | Sử dụng Prisma trong dự án |
57+
| `--drizzle` | Sử dụng Drizzle trong dự án |
58+
| `--nextAuth` | Sử dụng NextAuth.js trong dự án |
59+
| `--tailwind` | Sử dụng Tailwind CSS trong dự án |
60+
| `--dbProvider [provider]` | Sử dụng cơ sở dữ liệu đã cấu hình trong dự án |
61+
| `--appRouter` | Sử dụng Next.js App Router trong dự án |
6262

6363
<Callout type="warning">
64-
If you don't provide the `CI` flag, the rest of these flags have no effect.
64+
Nếu tùy chọn `CI` không được sử dụng, các tùy chọn còn lại sẽ không có hiệu
65+
lực.
6566
</Callout>
6667

67-
You don't need to explicitly opt-out of the packages you don't want. However, if you prefer to be explicit, you can pass `false`, e.g. `--nextAuth false`.
68+
Bạn không nhất thiết phải loại bỏ các tùy chọn mà bạn không muốn. Tuy nhiên, nếu bạn muốn loại bỏ chúng, bạn có thể truyền `false` vào sau các tùy chọn, ví dụ: `--nextAuth false`.
6869

69-
The --dbProvider command has 4 database values to choose from: mysql, postgres, planetscale, sqlite. If the command is not provided the default value will be sqlite.
70+
Tùy chọn `--dbProvider` cung cấp 4 cơ sở dữ liệu cho bạn chọn: mysql, postgres, planetscale, sqlite. Nếu tùy chọn này không được sử dụng, giá trị mặc định sẽ là sqlite.
7071

71-
### Example
72+
### Ví dụ
7273

73-
The following would scaffold a T3 App with tRPC and Tailwind CSS.
74+
Ví dụ sau sẽ tạo ra một ứng dụng T3 với tRPC Tailwind CSS.
7475

7576
```bash
7677
pnpm dlx create-t3-app@latest --CI --trpc --tailwind
7778
```
7879

79-
The following would scaffold a T3 App with NextAuth.js, Tailwind CSS, Drizzle, and PostgreSQL.
80+
Ví dụ sau sẽ tạo ra một ứng dụng T3 với NextAuth.js, Tailwind CSS, Drizzle, PostgreSQL.
8081

8182
```bash
8283
pnpm dlx create-t3-app@latest --CI --nextAuth --tailwind --drizzle --dbProvider postgres

0 commit comments

Comments
 (0)