slidey
v1.0.1
Published
Create presentations with basic React components
Readme
slidey
Create presentations with basic React components.
Usage
Before running any of the commands listed below, you must install the required dependencies. To do this, first install Node.js and then run the following command in the project directory:
npm installTo run a live-reloading Storybook (component sandbox) server on your local machine:
npm run storybookDevelopment
Testing
npm run testBuilding
npm run buildGenerating new components
Instead of copy-pasting files to create a new component, this command will generate all the boilerplate files needed:
npm run generate YourComponentNameThis will generate:
/src
/YourComponentName
YourComponentName.tsx
YourComponentName.stories.tsx
YourComponentName.test.tsx
YourComponentName.types.ts
index.tsThe component must also be added to the src/index.ts exports for the library to export the component.
