The import is not working.
//
...
var data1 ="";
...
axios.post(BASE_URL + '/filename')
.then(res =>
{
data1 = res.data;
console.log(`This is the data we need :`+data1);
import data from (`./files/`+ data1);
})
//
I imported the data file but i want it to be able to change file name. Now it does not work. Any solutions ?