davidguttman / react-pivot

React-Pivot is a data-grid component with pivot-table-like functionality for data display, filtering, and exploration.
http://davidguttman.github.io/react-pivot/
1.05k stars 148 forks source link

Can't use react-pivot on my react app #74

Open jmcorreia opened 5 years ago

jmcorreia commented 5 years ago

image

Can you help me please? I followed your guidelines for the installation and usage.

abdhalees commented 4 years ago

add this to your webpack config

  module: {
    rules: [
      {
        test: /\.(js|jsx)$/,
        include: [
          path.join(__dirname, './app'),
          path.join(__dirname, './node_modules', 'react-pivot')
        ],
        use: babelLoader
      },
  ]
}