All Projects → micromedio → herz-ui

micromedio / herz-ui

Licence: other
herz-ui.micromed.io/

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
Handlebars
879 projects
erlang
1774 projects
HTML
75241 projects

Projects that are alternatives of or similar to herz-ui

Web
千古前端图文教程,超详细的前端入门到进阶学习笔记。从零开始学前端,做一名精致优雅的前端工程师。公众号「千古壹号」作者。
Stars: ✭ 18,274 (+130428.57%)
Mutual labels:  front-end
weekly
「前端见闻」周刊 - 收集前端领域的优质文章与新鲜工具(2022 年 09 月 04日最新发布)
Stars: ✭ 46 (+228.57%)
Mutual labels:  front-end
webpack-system-register
A webpack plugin that wraps your bundle in a System.register
Stars: ✭ 35 (+150%)
Mutual labels:  front-end
Front End Developer Interview Questions
A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore.
Stars: ✭ 51,617 (+368592.86%)
Mutual labels:  front-end
bouffe-front
Bouffe Front SFEIR
Stars: ✭ 14 (+0%)
Mutual labels:  front-end
Health-Discernment-System
A menu based multiple chronic disease detection system which will detect if a person is suffering from a severe disease by taking an essential input image.
Stars: ✭ 25 (+78.57%)
Mutual labels:  front-end
Weapp Workflow
基于Gulp 的微信小程序前端开发工作流 💯
Stars: ✭ 241 (+1621.43%)
Mutual labels:  front-end
we-hate-js
누구보다 자바스크립트를 싫어하는 사람들의 공간
Stars: ✭ 27 (+92.86%)
Mutual labels:  front-end
bookmarks
在线书签管理系统
Stars: ✭ 19 (+35.71%)
Mutual labels:  front-end
Test-Bank
Interview preparation and practice problems
Stars: ✭ 43 (+207.14%)
Mutual labels:  front-end
react-native-redux-boilerplate
React Native Redux Boiler Plate
Stars: ✭ 38 (+171.43%)
Mutual labels:  front-end
resume-boilerplate
📄 简历模板
Stars: ✭ 84 (+500%)
Mutual labels:  front-end
composer-asset-compiler
Composer plugin that installs dependencies and compiles assets based on configuration.
Stars: ✭ 19 (+35.71%)
Mutual labels:  front-end
Bower
A package manager for the web
Stars: ✭ 15,095 (+107721.43%)
Mutual labels:  front-end
web-front-end-rss
📙 根据 RSS 抓取最新前端技术文章,来源:前端早读课、前端大全、前端之巅、淘宝前端、张鑫旭博客、凹凸实验室等
Stars: ✭ 24 (+71.43%)
Mutual labels:  front-end
Front End Curriculum
2021 Front-End Curriculum
Stars: ✭ 248 (+1671.43%)
Mutual labels:  front-end
front-end-interview
Front-end interview questions
Stars: ✭ 28 (+100%)
Mutual labels:  front-end
frontend-tips
Super tiny, quick tips, tricks and best practices of front-end development
Stars: ✭ 511 (+3550%)
Mutual labels:  front-end
frontie
Frontie is a front-end boilerplate. Gulp | Twig.js | Sass | Autoprefixer | Browsersync | Bootstrap 4 Grid System & Responsive Breakpoints
Stars: ✭ 28 (+100%)
Mutual labels:  front-end
flot
no database CMS, written in PHP, supports themes, soon plugins, and flexible taxonomies (data types) . Hybrid static/dynamic CMS that's cached by default. Runs on anything with PHP. Still in development, but fairly stable.
Stars: ✭ 44 (+214.29%)
Mutual labels:  front-end

herz-ui

Herz UI (/hɛrʦ/ - Hérts) is an implementation of UI Components based on Micromed's design system called Herz

Table of Contents


Installation

Using Herz-UI in your project

You can easily install in your project using your favorite package manager

// using npm
npm i @micromed/herz-ui

// using yarn
yarn add @micromed/herz-ui

you'll find our component documentation on our website

Want to contribute?

If you found a bug, have issues or feature proposals, feel free to open an Issue or send us a Pull Request, you can also read more about our contribution guidelines

Getting started


Setup

clonning the repo

git clone https://github.com/micromedio/herz-ui.git
cd herz-ui

installing dependencies with yarn

yarn 

Running in development:

yarn dev
  • Runs the app in the development mode.

  • The page will reload if you make edits.

  • You will also see any lint errors in the console

  • Project will be available at localhost:6060

Building for production

yarn build
  • Builds the app for production to the styleguide/ folder
  • Compiles the exported modules into lib/ folder
  • bundles react in production mode optimizing for best performance

Testing

yarn test
  • Launches the test runner in the interactive watch mode.

yarn build-storybook
  • Build storybook as a static project

yarn storybook



Testing in another project

While developing you may want to test your changes in another project that has herz-ui as a dependency. To do that we can use yarn link to link your local version of herz-ui to your project.

One problem that can arise from that is that there will be two react versions running in your application, resulting in this error: Invalid Hook Call Warning.

To fix this we need to not only link our local herz-ui to the other project, but also link react and react-dom from the other project to hearz-ui, so it uses those versions instead of the ones in herz-ui node_modules. The solution is this:

  1. In the external project folder run:
pushd node_modules/react && yarn link; popd
pushd node_modules/react-dom && yarn link; popd
  1. In the herz-ui folder run:
yarn link
yarn link react && yarn link react-dom
  1. In the external project folder run:
yarn link "@micromed/herz-ui"

Now the external project is using the local compiled version of herz-ui and there should be no react errors.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].