Replies: 17 comments 7 replies
-
Hey there, the project is still very experimental, and I still need to figure out how to bundle it properly for npm, but I will give it a try in the next days :) contributions will be also very helpful |
Beta Was this translation helpful? Give feedback.
-
I cloned the repo and checked the dashboard, looks really great so far, can't wait to use it! Currently I tested multiple bundlers with my react components. I ended up using pkgroll today, since it is very easy to setup, uses rollup and produces clean bundles. I tested rollup bundlers: Have a look at my react and react-hooks packages for the setup, I can just recommend. |
Beta Was this translation helpful? Give feedback.
-
@jrson83 thank you, in the last hours I've rewritten many parts of the project to be able to publish it ( Now it's bundled with You can check how to integrate it in this React example setup https://github.com/itsjavi/storylite/tree/main/packages/examples/react I am going to start using it actively in one of my projects soon, so I hope to make it more stable. |
Beta Was this translation helpful? Give feedback.
-
@itsjavi awesome, thanks! I gonna try replace ladle with storylite in my monorepo. |
Beta Was this translation helpful? Give feedback.
-
@jrson83 v0.1.x was not working properly, Now the UI can work with other frameworks, not only Vite |
Beta Was this translation helpful? Give feedback.
-
@itsjavi thanks, I gonna check it out! Will it also be compatible with |
Beta Was this translation helpful? Give feedback.
-
@itsjavi I read the changelog and tried to use it in my monorepo. I checked the react example, but I can't make use of it in the current state, because it is using I see on my installed // vite.config.ts
import { storylitePlugin } from '@storylite/storylite/dist/plugins' Using types with Cannot find type definition file for '@storylite/storylite/dist/virtual-modules.d.ts'. As workaround I used this config to get the named // tsconfig.json
{
"types": ["node", "react", "react-dom", "@storylite/storylite"]
} But when I try Cannot find module 'virtual:storylite-stories' or its corresponding type declarations.ts(2307) Could you update the react example to work without |
Beta Was this translation helpful? Give feedback.
-
Thanks for your infos, what's on main is not stable, I plan to separate the vite plugin but is not yet released (I will have time this weekend) |
Beta Was this translation helpful? Give feedback.
-
meanwhile please check the examples in some commit previous to separating the plugin |
Beta Was this translation helpful? Give feedback.
-
Oh okay, I did not realize there was another branch. |
Beta Was this translation helpful? Give feedback.
-
released 0.3.0 together with |
Beta Was this translation helpful? Give feedback.
-
Thanks, I will try again. |
Beta Was this translation helpful? Give feedback.
-
@itsjavi thanks, now installation and setup took just a minute in a new vite react-ts project. |
Beta Was this translation helpful? Give feedback.
-
@itsjavi I'm having problems migrating my ladle stories. I like to have a Sidebar Category Can you take a look here? https://github.com/jrson83/shrtcss/blob/main/packages/react/src/divider/divider.stories.tsx |
Beta Was this translation helpful? Give feedback.
-
@jrson83 if you only export one component, it is not grouped. maybe that's a not an obvious behaviour. it would be ok for me to change it. |
Beta Was this translation helpful? Give feedback.
-
on 0.6.0 I rewrote the addon system completely so now you can also provide your own or turn off default ones. scrnli_26_08_2023_06-39-24.mp4 |
Beta Was this translation helpful? Give feedback.
-
@itsjavi I can help out with custom router. You want to add me at discord |
Beta Was this translation helpful? Give feedback.
-
Description
I found the repo when looking for a lightweight storybook/ladle alternative. It looks great so far but it seems you didn't release on npm yet? Are you planing to release soon? I would love to see storylite in action and maybe help contributing.
Beta Was this translation helpful? Give feedback.
All reactions