@bitovi/vybit 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -12
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -171,18 +171,21 @@ STORYBOOK_URL=http://localhost:7000 npx @bitovi/vybit
|
|
|
171
171
|
|
|
172
172
|
### 2. Use the VyBit Panel Inside Storybook
|
|
173
173
|
|
|
174
|
-
You can embed the VyBit editor panel as a tab directly inside your Storybook UI.
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
174
|
+
You can embed the VyBit editor panel as a tab directly inside your Storybook UI. Because VyBit is typically run via `npx` in the MCP config (not installed locally), you need to add it as a dev dependency so Storybook can resolve the addon.
|
|
175
|
+
|
|
176
|
+
Install it in the same package where Storybook is a dependency (this may be a subdirectory in a monorepo):
|
|
177
|
+
|
|
178
|
+
```bash
|
|
179
|
+
npm install --save-dev @bitovi/vybit
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
Then register the addon in `.storybook/main.ts`:
|
|
183
|
+
|
|
184
|
+
```ts
|
|
185
|
+
export default {
|
|
186
|
+
addons: ['@bitovi/vybit/storybook-addon'],
|
|
187
|
+
};
|
|
188
|
+
```
|
|
186
189
|
|
|
187
190
|
The VyBit editor panel will now appear as a tab inside your Storybook.
|
|
188
191
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitovi/vybit",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"description": "Browser overlay + inspector panel + MCP server for visually editing Tailwind CSS classes on a running React app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tailwind",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"exports": {
|
|
25
25
|
".": "./loader.mjs",
|
|
26
|
-
"./storybook-addon": "./storybook-addon/index.
|
|
26
|
+
"./storybook-addon": "./storybook-addon/index.js"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"loader.mjs",
|