@nusameta/design-system 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,13 +20,11 @@ Design System berbasis React, TypeScript, dan Vite yang modern, ringan, dan siap
|
|
|
20
20
|
|
|
21
21
|
Jalankan perintah berikut di terminal proyek Anda:
|
|
22
22
|
|
|
23
|
-
yarn add @
|
|
23
|
+
yarn add @nusameta/design-system
|
|
24
24
|
|
|
25
25
|
Atau jika menggunakan NPM:
|
|
26
26
|
|
|
27
|
-
npm install @
|
|
28
|
-
|
|
29
|
-
> **Catatan:** Ganti `@username` dengan scope NPM Anda yang sebenarnya.
|
|
27
|
+
npm install @nusameta/design-system
|
|
30
28
|
|
|
31
29
|
---
|
|
32
30
|
|
|
@@ -43,7 +41,7 @@ Agar tampilan komponen muncul dengan benar, Anda harus mengimpor file CSS librar
|
|
|
43
41
|
import './globals.css';
|
|
44
42
|
|
|
45
43
|
// 👇 Import CSS Design System di sini
|
|
46
|
-
import '@
|
|
44
|
+
import '@nusameta/design-system/dist/index.css';
|
|
47
45
|
|
|
48
46
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
49
47
|
return (
|
|
@@ -57,7 +55,7 @@ Agar tampilan komponen muncul dengan benar, Anda harus mengimpor file CSS librar
|
|
|
57
55
|
|
|
58
56
|
Anda bisa langsung mengimpor komponen dan menggunakannya di halaman manapun.
|
|
59
57
|
|
|
60
|
-
import { Button } from '@
|
|
58
|
+
import { Button } from '@nusameta/design-system';
|
|
61
59
|
|
|
62
60
|
export default function HomePage() {
|
|
63
61
|
return (
|