July 2023 - JavaScript
本页提供 JGuang UI 技术内容、中文导航与术语适配。
中文模式已适配导航、标题、简介、目录与常用章节名称。翻译状态:部分完成;技术正文目前仍为英文。
This project and the components are written in TypeScript. We recommend using TypeScript for your project as well.
However we provide a JavaScript version of the components, available via the cli.
Would you like to use TypeScript (recommended)? no
To opt-out of TypeScript, you can use the tsx flag in your components.json file.
{
"style": "default",
"tailwind": {
"config": "tailwind.config.js",
"css": "src/app/globals.css",
"baseColor": "zinc",
"cssVariables": true
},
"rsc": false,
"tsx": false,
"aliases": {
"utils": "~/lib/utils",
"components": "~/components"
}
}
To configure import aliases, you can use the following jsconfig.json:
{
"compilerOptions": {
"paths": {
"@/*": ["./*"]
}
}
}
来源: changelog/2023-07-javascript.mdx
JGuang UI 技术文档。
June 2023 - New CLI, Styles and moreJune 2023 - New CLI, Styles and more
Complete CLI rewrite with new styles, theming options, and more.本页提供 JGuang UI 技术内容、中文导航与术语适配。
December 2023 - New ComponentsDecember 2023 - New Components
Carousel, Drawer, Pagination, Resizable, Sonner, and CLI updates.本页提供 JGuang UI 技术内容、中文导航与术语适配。