@tribeplatform/react-ui-kit
v3.1.1
Published
Tribe Platform React UI Kit
Downloads
12
Keywords
Readme
@tribeplatform/react-ui-kit
UI component library that is used to develop Tribe Community Platform
Getting Started
- Install the package.
$ yarn add @tribeplatform/react-ui-kit
- Import the stylesheet into the porject entry files
// App.js
import '@tribeplatform/react-ui-kit/styles'
Webpack Users
If Webpack is unable to compile the project, try adding the following option to webpack configurations:
webpackConfig.module.rules.push({
test: /\.m?js$/,
type: 'javascript/auto',
resolve: {
fullySpecified: false,
},
})
This is a known issue with Webpack and build tools that wrap around Webpack, such as Create React App and Razzle.
Contributing to the Project
Start the storybook
with:
$ yarn dev