-
-
Notifications
You must be signed in to change notification settings - Fork 0
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release date? #19
Comments
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 |
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. |
@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. |
@itsjavi awesome, thanks! I gonna try replace ladle with storylite in my monorepo. |
@jrson83 v0.1.x was not working properly, Now the UI can work with other frameworks, not only Vite |
@itsjavi thanks, I gonna check it out! Will it also be compatible with |
@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 |
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) |
meanwhile please check the examples in some commit previous to separating the plugin |
Oh okay, I did not realize there was another branch. |
released 0.3.0 together with |
Thanks, I will try again. |
@itsjavi thanks, now installation and setup took just a minute in a new vite react-ts project. |
@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 |
@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.
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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.
The text was updated successfully, but these errors were encountered: