diff --git a/demo/webpack.config.js b/demo/webpack.config.js
index 41684eb..59063a1 100644
--- a/demo/webpack.config.js
+++ b/demo/webpack.config.js
@@ -12,7 +12,6 @@ const isDevelopment = process.env.NODE_ENV !== 'production';
console.log(`Webpack demo ${isDevelopment ? 'dev' : 'prod'}`);
module.exports = {
- target: 'node',
entry: [
'webpack-hot-middleware/client',
path.resolve(dir_demo_js, 'demo.js'),
@@ -35,6 +34,7 @@ module.exports = {
rules: [
{
test: dir_demo_js,
+ // test: /\.js?$/,
exclude: /node_modules/,
use: [
{
diff --git a/theme/basic/README.md b/theme/basic/README.md
new file mode 100644
index 0000000..8deea77
--- /dev/null
+++ b/theme/basic/README.md
@@ -0,0 +1,30 @@
+# Basic CSS theme
+
+## How to use it
+
+Add the `theme/basic/react-paginatte.css` file to your HTML page. For eg., after downloading it and making it available on your server as `/assets/css/react-paginate.css`:
+
+```html
+
+```
+
+Then load the `ReactPaginate` component by specifying the `className` prop to `react-paginate`. This will add the class to the `
` container:
+
+```javascript
+import ReactPaginate from 'react-paginate';
+
+
+function MyExampleApp() {
+ // Manage offsets, page clicks, etc. ... (See main README.md)
+
+ return (
+ <>
+