Skip to content

Commit 8c7a284

Browse files
authored
Merge pull request #396 from moondda/ui-components
Rewrite devup UI components docs
2 parents ae28981 + b4bb82b commit 8c7a284

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
If you want to use Devup UI Components, you need to **install** it.
2+
3+
```bash
4+
npm install @devup-ui/components
5+
// or
6+
yarn add @devup-ui/components
7+
// or
8+
pnpm add @devup-ui/components
9+
```
10+
11+
Note: If you encounter `Cannot run on the runtime` error, make sure the include option is properly configured for your bundler.

apps/landing/src/app/(detail)/components/overview/page.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Icons } from '@/components/icons/components'
55
import { COMPONENT_GROUPS } from '@/constants'
66

77
import Card from '../Card'
8+
import Description from './Description.mdx'
89

910
export default function Page() {
1011
return (
@@ -16,11 +17,12 @@ export default function Page() {
1617
Devup UI Components
1718
</Text>
1819
<Text color="$text" typography="bodyReg">
19-
Devup UI is a library of components that can be used to build web
20-
applications. It is built with React and TypeScript and is designed to
21-
be used with the Devup framework.
20+
<Description />
2221
</Text>
23-
<VStack gap="16px" overflow="visible" py="30px">
22+
<Text color="$title" pt="30px" typography="h4">
23+
Examples
24+
</Text>
25+
<VStack gap="16px" overflow="visible" pb="30px">
2426
<Text color="$title" typography="h6">
2527
Form
2628
</Text>

0 commit comments

Comments
 (0)