@page "/"
<style>
@import url('https://fonts.googleapis.com/css2?family=Work+Sans');
body {
margin: 0;
font-family: 'Work Sans';
color: #4d4d4d;
}
</style>
In React.js I can simply use the @import to use tag to use Google Font, but in Blazor I got the error The name 'import' does not exist in current context. What is the correct way of using Google Font globally for a Blazor app.