@esmate/shadcn 3.0.2 → 3.3.1
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 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,6 +28,7 @@ Import a style in your `./src/global.css`:
|
|
|
28
28
|
```css
|
|
29
29
|
@import "tailwindcss";
|
|
30
30
|
|
|
31
|
+
/* Please make sure the source is correct */
|
|
31
32
|
@source "../node_modules/@esmate/shadcn";
|
|
32
33
|
@import "@esmate/shadcn/styles/new-york.css";
|
|
33
34
|
```
|
|
@@ -35,7 +36,9 @@ Import a style in your `./src/global.css`:
|
|
|
35
36
|
Start using components:
|
|
36
37
|
|
|
37
38
|
```tsx
|
|
38
|
-
import { Button } from "@esmate/shadcn/ui/button";
|
|
39
|
+
import { Button } from "@esmate/shadcn/components/ui/button";
|
|
40
|
+
|
|
41
|
+
import { Card, CardContent } from "@esmate/shadcn/components/ui/card";
|
|
39
42
|
```
|
|
40
43
|
|
|
41
44
|
## Usage
|