roboto-npm-webfont
Version:
Roboto webfont package
62 lines (46 loc) • 1.22 kB
Markdown
<h1 align="center">
Roboto webfont NPM package
</h1>
<p align="center">
<a href="https://nodei.co/npm/roboto-npm-webfont/">
<img src="https://nodei.co/npm-dl/roboto-npm-webfont.png?months=1">
</a>
</p>
<p align="center">
<a href="https://www.npmjs.com/package/roboto-npm-webfont">
<img src="https://img.shields.io/npm/v/roboto-npm-webfont.svg">
</a>
<a href="https://www.npmjs.com/package/roboto-npm-webfont">
<img src="https://img.shields.io/npm/dm/roboto-npm-webfont.svg">
</a>
<a href="http://prose.io/#vaeum/roboto-npm-webfont">
<img src="https://img.shields.io/badge/edit-prose.io-blue.svg">
</a>
<a href="https://unpkg.com/roboto-npm-webfont/">
<img src="https://img.shields.io/badge/unpkg-com-green.svg">
</a>
</p>
### Usage
#### In module
```
import 'roboto-npm-webfont';
```
#### In style
```
body {
font-family: 'Roboto', sans-serif;
}
```
#### Webpack dependencies:
- css-loader
#### Without webpack
```
//css
@import "node_modules/roboto-npm-webfont/style.css";
//less
@import "node_modules/roboto-npm-webfont/style.less";
//scss
@import "node_modules/roboto-npm-webfont/style.scss";
//Stylus
@import "node_modules/roboto-npm-webfont/style.styl"
```