- Notifications
You must be signed in to change notification settings - Fork102
🥄 Develop, test and document your React story components faster.
License
NotificationsYou must be signed in to change notification settings
tajo/ladle
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Ladle is an environment to develop, test, and share your React components faster.
mkdir my-ladlecd my-ladlepnpm initpnpm add @ladle/react react react-dommkdir srcecho"export const World = () => <p>Hey</p>;"> src/hello.stories.tsxpnpm ladle serve
with yarn
mkdir my-ladlecd my-ladleyarn init --yesyarn add @ladle/react react react-dommkdir srcecho"export const World = () => <p>Hey</p>;"> src/hello.stories.tsxyarn ladle serve
with npm
mkdir my-ladlecd my-ladlenpm init --yesnpm install @ladle/react react react-dommkdir srcecho"export const World = () => <p>Hey</p>;"> src/hello.stories.tsxnpx ladle serve
For powershell, replace in the above listings echo with the following
@"export const World = () => <p>Hey</p>;"@|out-file-encoding ASCII src/hello.stories.tsx
About
🥄 Develop, test and document your React story components faster.