Layout components for React applications.
To install the library, run:
npm i @atwright147/react-layoutTo install dependencies using a clean slate, run:
npm ciTo run the development server, use the following command:
npm run devThis will start the development server and you can view the application at http://localhost:5173.
To build the library, run:
npm run build:libThis will create a dist folder with the compiled library.
To start Storybook for developing and testing components, run:
npm run storybookThis will start the Storybook server, and you can view the component stories in your browser at http://localhost:6006.
To lint the codebase, run:
npm run lintTo check the TypeScript types, run:
npm run typecheckTo build the demo site, run:
npm run build:demoThis will compile the TypeScript files and bundle the demo site using Vite. The output will be in the dist directory.
To preview the demo site, run:
npm run previewThis will start the Vite preview server, and you can view the demo site in your browser at http://localhost:5000.