You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="capitalize":class="type === 'node' ? 'text-orange-400' : 'text-green-400'">{{ type }}</span>
12
12
</summary>
13
13
14
14
<divclass="mt-2 opacity-75">
15
15
<spanv-if="type === 'node'">
16
-
This setup function will only run on Node.js environment, you can have access to Node's API.
16
+
Hàm cài đặt này sẽ chỉ chạy trên môi trường Node.js, bạn có thể có quyền truy cập vào API của Node.
17
17
</span>
18
18
<spanv-else>
19
-
This setup function will only run on client side. Make sure the browser compatibility when importing packages.
19
+
Hàm cài đặt này sẽ chỉ chạy ở phía client. Đảm bảo tính tương thích của trình duyệt khi nhập các gói. Đảm bảo tính tương thích của trình duyệt khi thêm các package.
> The documentations of this section is still working in progress. Before that, you can take a look at the[source code](https://github.com/slidevjs/slidev/blob/main/packages/client/builtin) directly.
5
+
> Các tài liệu của phần này vẫn đang được hoàn thiện. Trước đó, bạn có thể xem trực tiếp tại[source code](https://github.com/slidevjs/slidev/blob/main/packages/client/builtin).
6
6
7
-
## Custom Components
7
+
## Tùy chỉnh Component
8
8
9
-
Create a directory `components/`under your project root, and simply put your custom Vue components under it, then you can use it with the same name in your markdown file!
9
+
Tạo một thư mục `components/`trong dự án gốc của bạn và chỉ cần đặt các component Vue tùy chỉnh của bạn bên trong nó, sau đó bạn có thể sử dụng nó với cùng tên trong file markdown của mình!
10
10
11
-
Read more in the [Customization](/custom/directory-structure#components) section.
11
+
Đọc thêm trong phần [Tùy chỉnh](/custom/directory-structure#components).
12
12
13
-
## Theme-provided Components
13
+
## Component do Chủ đề cung cấp
14
14
15
-
Themes can provide components as well. Please read their documentations for what they have provided.
15
+
Chủ đề cũng có thể cung cấp các component. Vui lòng đọc tài liệu về nó để biết những gì nó cung cấp.
16
16
17
-
Check more in the [directory structure](/custom/directory-structure) section.
17
+
Kiểm tra thêm trong phần [Cấu trúc thư mục](/custom/directory-structure).
> The documentations of this section is still working in progress. Before that, you can take a look at the[source code](https://github.com/slidevjs/slidev/blob/main/packages/client/layouts) directly.
5
+
> Các tài liệu của phần này vẫn đang được hoàn thiện. Trước đó, bạn có thể xem trực tiếp tại[source code](https://github.com/slidevjs/slidev/blob/main/packages/client/layouts).
6
6
7
-
## Custom Layouts
7
+
## Tùy chỉnh Layout
8
8
9
-
Create a directory `layouts/`under your project root, and simply put your custom Vue layout components under it.
9
+
Tạo một thư mục `layouts/`trong dự án gốc của bạn và chỉ cần đặt các component layout Vue tùy chỉnh của bạn bên trong nó.
10
10
11
-
Read more in the [Customization](/custom/directory-structure#layouts) section.
11
+
Đọc thêm trong phần [Các tùy chỉnh](/custom/directory-structure#layouts).
12
12
13
-
## Theme-provided Layouts
13
+
## Layout do Chủ đề cung cấp
14
14
15
-
Themes can provide layouts or override existing ones. Please read their documentation for what they have provided.
15
+
Chủ đề có thể cung cấp các layout hoặc ghi đè các layout hiện có. Vui lòng đọc tài liệu về nó để biết những gì nó cung cấp.
With the setup, you can provide the custom setting for [KaTex Options](https://katex.org/docs/options.html). Refer to the type definitions and their documentation for more details.
17
+
Trong quá trình thiết lập, bạn có thể cung cấp cài đặt tùy chỉnh cho [Các lựa chọn KaTex](https://katex.org/docs/options.html). Tham khảo định nghĩa loại và tài liệu của chúng để biết thêm chi tiết.
0 commit comments