Skip to content

Conversation

@FreakyWizard
Copy link
Contributor

Font Awsome CDN vervangen voor NPM package. Waarom? ->

  • CDN's van derde partijen kunnen voor tracking worden gebruikt
  • Verminderd afhankelijkheid van derde
  • Dependencies worden op 1 plaats beheerd (in NPM)

Font Awsome biedt al een flinke tijd de optie aan om per kit een NPM package aan te kunnen maken.
De NPM package laad geen onnodige dingen:

A Kit and its package are subsetted and optimized so it will not include any icon styles and features you have not enabled.

https://docs.fontawesome.com/web/setup/packages/


Vergeet niet het onderstaande aan je ~/.nvmrc toe te voegen

@awesome.me:registry=https://npm.fontawesome.com/
@fortawesome:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=

@FreakyWizard
Copy link
Contributor Author

2 notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants