@@ -51,33 +51,33 @@ skyroc-ui/
5151
5252``` bash
5353# 使用 npm
54- npm install soybean-react -ui
54+ npm install skyroc -ui
5555
5656# 使用 pnpm
57- pnpm add soybean-react -ui
57+ pnpm add skyroc -ui
5858
5959# 使用 yarn
60- yarn add soybean-react -ui
60+ yarn add skyroc -ui
6161```
6262
6363### 配置 Tailwind CSS
6464
6565安装 Tailwind CSS 插件:
6666
6767``` bash
68- npm install @soybean-react -ui/tailwind-plugin
68+ npm install @skyroc -ui/tailwind-plugin
6969```
7070
7171在 ` tailwind.config.js ` 中配置:
7272
7373``` js
74- import { soybeanUIPlugin } from ' @soybean-react -ui/tailwind-plugin'
74+ import { soybeanUIPlugin } from ' @skyroc -ui/tailwind-plugin'
7575
7676/** @type {import('tailwindcss').Config} */
7777export default {
7878 content: [
7979 ' ./src/**/*.{js,ts,jsx,tsx}' ,
80- ' ./node_modules/soybean-react -ui/dist/**/*.{js,ts,jsx,tsx}'
80+ ' ./node_modules/skyroc -ui/dist/**/*.{js,ts,jsx,tsx}'
8181 ],
8282 plugins: [soybeanUIPlugin ()]
8383}
@@ -86,7 +86,7 @@ export default {
8686### 基础使用
8787
8888``` tsx
89- import { Button , Card , Input } from ' soybean-react -ui'
89+ import { Button , Card , Input } from ' skyroc -ui'
9090
9191function App() {
9292 return (
@@ -173,7 +173,7 @@ Soybean React UI 支持灵活的主题定制:
173173### 颜色系统
174174
175175``` tsx
176- import { ConfigProvider } from ' soybean-react -ui'
176+ import { ConfigProvider } from ' skyroc -ui'
177177
178178function App() {
179179 return (
@@ -205,7 +205,7 @@ function App() {
205205内置强大的表单系统,支持复杂的表单场景:
206206
207207``` tsx
208- import { Form , useForm } from ' soybean-react -ui'
208+ import { Form , useForm } from ' skyroc -ui'
209209import { z } from ' zod'
210210
211211const schema = z .object ({
@@ -318,7 +318,7 @@ pnpm lint
318318
319319- 作者: Ohh
320320- 邮箱: 15093262@qq.com
321- - GitHub: [ https://github.com/Ohh-889/soybean-react- ui ] ( https://github.com/Ohh-889/soybean-react -ui )
321+ - GitHub: [ https://github.com/Ohh-889/skyroc- ui ] ( https://github.com/Ohh-889/skyroc -ui )
322322
323323---
324324
0 commit comments