You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,17 @@
2
2
3
3
The home of the ClickHouse design system and component library. Click UI is in very early development and subject to change, we do not recommend using it for production purposes.
4
4
5
-
###Using Click UI in an external app
5
+
## Using Click UI in an external app
6
6
7
7
Click UI has been tested in NextJS, Gatsby, and Vite. If you run into problems using it in your app, please create an issue and our team will try to answer.
8
+
8
9
1. Navigate to your app's route and run
9
10
`npm i @clickhouse/click-ui`
10
11
or
11
12
`yarn add @clickhouse/click-ui`
12
13
2. Make sure to wrap your application in the Click UI `ClickUIProvider`, without doing this, you may run into issues with styled-components. Once thats done, you'll be able to import the individual components that you want to use on each page. Here's an example an `App.tsx` in NextJS.
# How to create new release and publish a new Click-UI package version to NPM
2
+
3
+
1. Navigate to the [Release page](https://github.com/ClickHouse/click-ui/releases) and check the latest release. It might already contain the changes you need, making a new version unnecessary.
4
+
2. Draft a [new release](https://github.com/ClickHouse/click-ui/releases/new).
5
+
3. Create a tag for the release. The new version should be an increment from the latest released version. 
0 commit comments