const [data1, data2, data3] = await Promise.all([
http.get('/test1'),
http.get('/test2'),
http.get('/test3'),
]).then((values) => {
console.log('values', values);
// [{data: [1], status: 200, config: {}}, {data: [2], status: 200, config: {}}, {data: [3], status: 200, config: {}}]
return values;
});
$font = './fonts/OpenSans-Regular.ttf';
// OR
$font = './OpenSans-Regular.ttf';