@tonydinh/react-toolkit

1.0.0-rc.17 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @tonydinh/react-toolkit

Weekly Downloads

4

Version

1.0.0-rc.17

License

ISC

Unpacked Size

635 kB

Total Files

190

Last publish

Collaborators

  • tonydinh