Created
June 6, 2019 03:25
-
-
Save dbaba/b317169710db91127a29471c7eafeef7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fontawesome 5 with Nuxtjs and Bulma | |
// Revised version of https://medium.com/@kkostov/adding-bulma-with-fontawesome-to-a-nuxt-js-project-bd101adb8778 | |
``` | |
$ npm i bulma @fortawesome/fontawesome-free | |
``` | |
`nuxt.conf.js` | |
``` | |
/* | |
** Global CSS | |
*/ | |
css: [ | |
{ src: '~/assets/css/main.scss', lang: 'scss' }, | |
{ src: '@fortawesome/fontawesome-free/scss/fontawesome.scss', lang: 'scss' }, | |
{ src: '@fortawesome/fontawesome-free/scss/brands.scss', lang: 'scss' }, | |
{ src: '@fortawesome/fontawesome-free/scss/regular.scss', lang: 'scss' }, | |
{ src: '@fortawesome/fontawesome-free/scss/solid.scss', lang: 'scss' }, | |
], | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment