【发布时间】:2017-05-11 11:45:25
【问题描述】:
我正在尝试在 Ionic 2 中使用 Google 字体。
在研究了 Stackoverflow 和 Ionic 论坛之后,我已经导入了字体并将 base 包含在 variables.scss 中,如下所示
@import url('https://fonts.googleapis.com/css?family=Lato');
$font-family-base: "Lato";
$font-family-md-base: "Lato";
$font-family-ios-base: "Lato";
$font-family-wp-base: "Lato";
显然,这不是渲染字体。我做错了什么或者还有什么需要做的?
【问题讨论】: