Nextjs Variables

To make our demo pages (pages found in `src/views/*`) a bit more easy to understand and to have less code, we’ve created some special files with variables, variables which we import where we need them.


You will find all the variables regarding the charts in variables/charts.js.

At the end of each of these three files you will find the exports with comments for you to know where each variables is used.

To use any of these variables you need to import them like so:

import { variableName } from 'variables/variableFile.js';

Where variableFile.js is one of charts.js, and variableName is a variable found at the end of the variableFile.js.