-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d2a414
commit 598178c
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
title: Polaris ViewComponents | ||
--- | ||
|
||
Polaris ViewComponents is an implementation of the [Polaris Design System](https://polaris.shopify.com/components) using ViewComponents. | ||
|
||
## Example | ||
|
||
<lookbook-embed | ||
app="http://localhost:4000/lookbook/" | ||
preview="CardComponentPreview" | ||
scenario="default" | ||
panels="source,output"> | ||
</lookbook-embed> | ||
|
||
## Dependencies | ||
|
||
- [Stimulus](https://stimulus.hotwired.dev/) | ||
|
||
## Installation | ||
|
||
Add polaris_view_components to your Gemfile: | ||
|
||
```bash | ||
bundle add polaris_view_components | ||
``` | ||
|
||
Run installer: | ||
|
||
```bash | ||
bin/rails polaris_view_components:install | ||
``` | ||
|
||
## Source code | ||
|
||
The source code is available on [GitHub](/~https://github.com/baoagency/polaris_view_components). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters