You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const fontDownloader = require('goog-webfont-dl');
fontDownloader({
font: 'Roboto',
formats: ["woff", "woff2"],//fontDownloader.formats, // Font formats.
destination: path.join(__dirname, 'public/fonts/roboto'), // Save font here
out: path.join(__dirname, 'resources/assets/fonts/roboto.css'), // CSS file. Use '-' for stdout, and nothing to return the CSS code
prefix: `http://test.localhost/fonts/roboto`, // Prefix to use in CSS output
subset: null, // = none // Subset string/array, e.g. 'latin,cyrillic'
styles: '400,400i,700,700i', // Style string/array, e.g. '300,400,300italic,400italic'
})
Output:
The text was updated successfully, but these errors were encountered: