2022-05-21 01:07:31 +02:00
|
|
|
/**
|
|
|
|
* plugins/webfontloader.js
|
|
|
|
*
|
|
|
|
* webfontloader documentation: https://github.com/typekit/webfontloader
|
|
|
|
*/
|
|
|
|
|
2022-05-24 23:04:35 +02:00
|
|
|
export async function loadFonts() {
|
|
|
|
const webFontLoader = await import(
|
|
|
|
/* webpackChunkName: "webfontloader" */ "webfontloader"
|
|
|
|
);
|
2022-05-21 01:07:31 +02:00
|
|
|
|
|
|
|
webFontLoader.load({
|
|
|
|
google: {
|
2022-05-24 23:04:35 +02:00
|
|
|
families: ["Roboto:100,300,400,500,700,900&display=swap"],
|
2022-05-21 01:07:31 +02:00
|
|
|
},
|
2022-05-24 23:04:35 +02:00
|
|
|
});
|
2022-05-21 01:07:31 +02:00
|
|
|
}
|