3.0.6 • Published 2 months ago
bufdir_stat v3.0.6
#bufdir_stat
An SPA React Component providing a frontend for stat_content, Bufdir's Strapi based API for statistics content
Usage
npm install bufdir_stat
In code:
import React from "react";
import ReactDOM from "react-dom";
import StatisticsApp from "bufdir_stat";
...
ReactDOM.render(
<React.StrictMode>
<StatisticsApp
baseUrl={yourBaseUrlForThisApp}
strapiUrl={yourURLToTheStrapiApi}
/>
</React.StrictMode>,
document.querySelector('#root')
);
The package exports a single React component that expects the properties:
- baseUrl - the URL context from which the embedding application serves this component.
- strapiUrl - the URL path to the Strapi api that serves data to the component.
Peer Dependencies
Note that there are the following peer dependencies:
- "react": "^17.0.2",
- "react-dom": "^17.0.2",
- "react-router-dom": "^6.9.0",
- "buflib": "^2.0.0"
3.0.6
2 months ago
3.0.5
5 months ago
3.0.0-beta.0
8 months ago
3.0.4
6 months ago
3.0.3
7 months ago
3.0.2
7 months ago
3.0.1
8 months ago
3.0.0
8 months ago
2.0.17
9 months ago
2.0.15
11 months ago
2.0.16
11 months ago
2.0.13
11 months ago
2.0.14
11 months ago
2.0.11
11 months ago
2.0.12
11 months ago
2.0.9
11 months ago
2.0.10
11 months ago
2.0.8
11 months ago
2.0.7
11 months ago
2.0.6
12 months ago
2.0.5
1 year ago
2.0.3
1 year ago
2.0.2
1 year ago
2.0.4
1 year ago
2.0.1
1 year ago
1.1.12
1 year ago
1.1.14
1 year ago
2.0.0
1 year ago
1.1.13
1 year ago
1.1.11
1 year ago
1.1.10
1 year ago
1.1.9
1 year ago
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago