zhangyuanliang
zhangyuanliang

Reputation: 53

UI framework reference GoogleAPIs, resulting in access to fonts error

My project applied Semantic-UI, which imported GoogleAPIs, but it can't be got in China. what's the best solution to this situation?

GitHub Address: Demo-Online

Bug: img_bug

Semantic.css:

@import url('https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin');

Upvotes: 2

Views: 83

Answers (1)

tratatun
tratatun

Reputation: 133

try to use other npm module instead. Modules semantic-ui-offline or semantic-ui-css-offline were forked from semantic-ui, try use one of them instead semantic-ui-css

npm i semantic-ui-offline

or

npm i semantic-ui-css-offline

Upvotes: 1

Related Questions