5

GitHub - bloomberg/CartoAssets: Common assets shared across several repositories

 2 years ago
source link: https://github.com/bloomberg/CartoAssets
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

CartoAssets

Share frontend assets between different CartoDB repositories

Installation

As easy as:

Build

If you want to use any of the CartoAssets components, after the installation just run:

  • grunt build

Development

It will generate a UI documentation about the components in this repository:

  • grunt dev

If you want to check the documenation, it is generated in the dist folder.

How to add/update the icon font

See this instructions

Publish a new version in NPM

In order to publish a new version of CartoAssets you need to:

  • Change version of the package.
  • Be a collaborator of the npm module (Send an email to xavijam[at]cartodb.com).

If you have these previous steps done:

  • npm publish

Publish CartoAssets styleguide and documentation in GH-Pages

Just run this command:

  • grunt publish

Browser support

31+ heavy_check_mark 38+ heavy_check_mark 10+ heavy_check_mark 31+ heavy_check_mark 8+ heavy_check_mark


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK