Skip to content

tony-dinh/react-toolkit

Repository files navigation

React Toolkit

npm version npm downloads npm downloads

React Toolkit is a collection of re-useable React components. See the documentation here.

The guide below explains how one might integrate this module using webpack as a module bundler.

Installation

$ npm install --save @tonydinh/react-toolkit

Prerequisites

It might be useful to configure webpack with an alias for resolving the components in this module.

// webpack.config.js
const config = {
...
    resolve: {
        alias: {
            "react-toolkit": 'node_modules/@tonydinh/react-toolkit/dist/components'
        }
    }
}

Importing

With the configuration above, we can import components from the module with:

import Button from 'react-toolkit/button'

Developing

Requirements

The module supports the latest Node LTS.

Getting Started

Once you have cloned the repository, run the following at the $PROJECT_ROOT to start the development server.

$ npm i && npm start

Packages

No packages published

Contributors 2

  •  
  •