3.18.0 • Published 6 years ago
mta-react-common-visuals v3.18.0
Install dependencies:
yarn installRun styleguide locally:
yarn styleguideIf React Intl missing message errors get annoying, add this filter to console:
-[ReactBuild static styleguide:
yarn styleguide:buildImport this module in a project:
Option 1: using npm repository
Create file .npmrc with content:
registry=http://repo.rmv/nexus/repository/npm/In terminal:
yarn add mta-react-common-visualsOption 2: using local copy
Doing so enables you to see locally made changes in your project.
yarn link
yarn watchIn your project:
yarn link mta-react-common-visualsIf problems arise from conflicting React versions:
In your project's node_modules/react folder:
yarn linkIn this project's root:
yarn link reactEslint:
Displaying custom lint errors in console is not possible with create-react app.
[source]
Please use IDE integration instead.