Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/charlesfries/ember-google-fonts

Automatically import Google Fonts into your Ember app
https://github.com/charlesfries/ember-google-fonts

ember ember-addon google google-fonts

Last synced: 13 days ago
JSON representation

Automatically import Google Fonts into your Ember app

Awesome Lists containing this project

README

        

ember-google-fonts
==============================================================================

Automatically import Google Fonts into your Ember application.

This addon will add a `` tag to the `content-for "head-footer"` target in your app's `index.html` file.

Compatibility
------------------------------------------------------------------------------

* Ember.js v3.4 or above
* Ember CLI v2.13 or above
* Node.js v8 or above

Installation
------------------------------------------------------------------------------

```
ember install ember-google-fonts
```

Usage
------------------------------------------------------------------------------

```javascript
// config/environment.js

module.exports = function(environment) {
let ENV = {
/* your config */

googleFonts: [
'Merriweather:400,700,900',
'Roboto'
]
};
return ENV;
}
```

Contributing
------------------------------------------------------------------------------

See the [Contributing](CONTRIBUTING.md) guide for details.

License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE.md).