default-theme-mhd
TypeScript icon, indicating that this package has built-in type declarations

3.4.2 • Public • Published

Installation

Please use yarn instead of npm

yarn install

Setup

  1. Create .env.development and .env.production files. Refer to .env.example file.
  2. Run yarn storybook to download tailwind preset from CMS.

Important Notes

To create a component

  1. Create a new branch in the following format component/component-name
  2. Add component interface in src/lib/models.ts file
  3. Create component in src/components folder.

To demo component in Storybook

  1. Create story in stories folder. Refer to official Storybook docs here.

Notes

  • [ ] Components props views interfaces should be shared in npm packages
  • [ ] Any component shouldn't have much logic and it can always assume it will take the props from the controller component
  • [x] Make a tailwind setup similar to the newsifier main project
  • [ ] Solidify interfaces and separate logic from view for these components
  • [ ] Create a @types (TS type definitions) and @helpers NPM package (create newsifier NPM account) for components
  • [ ] Setup storybook boilerplate
  • [x] Create README
  • [ ] Setup layout for pages
  • [ ] Sync styling for storybook and main project
  • [ ] Using next/images in storybook

/default-theme-mhd/

    Package Sidebar

    Install

    npm i default-theme-mhd

    Weekly Downloads

    69

    Version

    3.4.2

    License

    ISC

    Unpacked Size

    9.26 MB

    Total Files

    455

    Last publish

    Collaborators

    • meik1998