Load chartkick and highcharts only on stat pages
This commit is contained in:
parent
655e8bc849
commit
d8eb3ebb94
8 changed files with 29 additions and 18 deletions
3
app/javascript/loaders/Chartkick.js
Normal file
3
app/javascript/loaders/Chartkick.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
import Loadable from '../components/Loadable';
|
||||
|
||||
export default Loadable(() => import('../components/Chartkick'));
|
Loading…
Add table
Add a link
Reference in a new issue