3.18.0 • Published 4 years ago

mta-react-common-visuals v3.18.0

Weekly downloads
5
License
UNLICENSED
Repository
github
Last release
4 years ago

Install dependencies:

yarn install

Run styleguide locally:

yarn styleguide

If React Intl missing message errors get annoying, add this filter to console:

-[React

Build static styleguide:

yarn styleguide:build

Import 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-visuals

Option 2: using local copy

Doing so enables you to see locally made changes in your project.

yarn link
yarn watch

In your project:

yarn link mta-react-common-visuals

If problems arise from conflicting React versions:

In your project's node_modules/react folder:

yarn link

In this project's root:

yarn link react

Eslint:

Displaying custom lint errors in console is not possible with create-react app. [source]
Please use IDE integration instead.