【发布时间】:2021-07-26 05:21:33
【问题描述】:
我正在使用 React (Gatsby) 开发我的第一个应用程序,Pagespeed Insights 向我显示以下错误: screenshot
我使用插件 gatsby-plugin-google-fonts
添加了 Google 字体resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [
`roboto mono\:400,700` // you can also specify font weights and styles
],
display: 'swap'
}
有什么办法可以解决吗?
您可以在此处查看此应用: https://cssgenerator.pl/
【问题讨论】:
标签: javascript reactjs gatsby pagespeed google-fonts