Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bluzky committed Nov 26, 2024
1 parent 4a67653 commit f40072b
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,21 @@ def deps do
{:salad_ui, "~> 0.13.0"},
]
end


2. Add `TwMerge.Cache` to `application.ex`

```elixir
children = [
...,
TwMerge.Cache
]

```

2. **Using `salad_ui` as part of your project:**
3. Setup `salad_ui`

3.1 **Using `salad_ui` as part of your project:**

> This way you can install only components that you want to use or you want to edit SaladUI's component source code to fit your need.
> If you just want to use SaladUI's components, see **Using as library** below.
Expand All @@ -50,7 +62,7 @@ end
#> mix salad.add label button
```

3. **Using `salad_ui` as a library:**
3.2 **Using `salad_ui` as a library:**
- Init Salad UI in your project with option `--as-lib`
```
#> cd your_project
Expand Down Expand Up @@ -135,6 +147,7 @@ To run the failing tests only, just run `mix test.watch --stale`.
- ✅ Select
- ✅ Separator
- ✅ Sheet
- ✅ Sidebar
- ✅ Skeleton
- ✅ Slider
- ✅ Switch
Expand Down

0 comments on commit f40072b

Please sign in to comment.