This project is copy from https://koodivaramu.eesti.ee/veebiraamistik/react/tree/MTA
Please don't change original mta-components. If changes are needed then create new component from original mta-component and make changes in copied component.
Due to react 18 upgrade and the dependencies management and versioning is all over the place, right now npm legacy-peer-deps feature seems to work better than yarn dependency management logic
npm run il
or
npm install --legacy-peer-deps
npm run styleguide
If React Intl
missing message errors get annoying, add this filter to console:
-[React
yarn styleguide:build
Create file .npmrc
with content:
registry=http://repo.rmv/nexus/repository/npm/
In terminal:
yarn add ehr-components
Doing so enables you to see locally made changes in your project.
yarn link
yarn watch
In your project:
yarn link ehr-components
In your project's node_modules/react
folder:
yarn link
In this project's root:
yarn link react
Displaying custom lint errors in console is not possible with create-react app.
[source]
Please use IDE integration instead.
Update 17.04.23
Versions 0.1.x are used for production.
Versions 0.0.x are used for testing in development environment.