$ cnpm install @spiffdog/component-library
Spiffdog Design boilerplate for a React component library using TypeScript.
git clone https://github.com/Spiffdog-Design/component-library.git
yarn install
yarn link
The console should output the command to link to this module (i.e. yarn link @spiffdog/component-library
). Go to your React app's folder in the terminal and execute that command. You can then use that library as usual.
import { Card } from '@spiffdog/component-library';
Install the library from the NPM repo.
yarn add @spiffdog/component-library
yarn start
yarn build
yarn lint
yarn test
yarn test:snapshot
yarn test:watch
yarn dist
Copyright 2014 - 2017 © taobao.org |