package-mhd
v0.1.23
Published
Ensure you have the following installed on your system:
Readme
NickScali React Contentful Component
Prerequisites
Ensure you have the following installed on your system:
- Node.js (v18 or higher)
- Yarn (v1.22 or higher)
Installation
Clone the repository:
git clone <repository-url> cd react-contentful-compInstall dependencies:
yarn installUpdate
.envfile according to the.env.examplefile.
Running Storybook
To start Storybook for component development and documentation:
yarn storybookThis will start the Storybook server. You can access it at http://localhost:6006.
All components are documented in Storybook. You can use it to view various variations, as well as modifying the entryId to directly see the Contentful data.
Running the Project
To start the development server:
yarn devThis will start the Next.js development server. You can access the application at http://localhost:3000.
Do note that the website is a "playground" for the components, and is not intended to be a fully functional website. The main purpose is for developers to track and test the components. For full documentation please refer to the Storybook instead.
