Skip to content

Commit 5138d89

Browse files
committed
Update shadcn component migration guide
1 parent 020e615 commit 5138d89

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

src/lib/components/ui/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,23 @@ After updating your `shadcn` components with the CLI, complete the following ste
2828

2929
* If the CLI created `src/lib/utils.ts`, overwrite your existing `src/lib/utils/shadcn.ts` with it.
3030

31-
4. **Apply consistent styling**
31+
4. **Run tailwindcss migration utility**
32+
33+
* Shadcn-svelte still hasnt migrated to tailwindcss v4, so we need to run the migration utility to ensure everything is up to date.
34+
35+
```bash
36+
pnpx @tailwindcss/upgrade --force
37+
```
38+
39+
5. **Apply consistent styling**
3240

3341
* Run the following command to apply consistent styling:
3442

3543
```bash
3644
pnpm run format
3745
```
3846

39-
5. **Check code for any issues**
47+
6. **Check code for any issues**
4048

4149
* Run the following commands to check for any issues:
4250

0 commit comments

Comments
 (0)