Hi
Can somebody guide me how I can use fontawesome pro in metronic8 html version?
Thanks
hi. this is guide for to convert FA from free to pro.
1. modified "@fortawesome" in gulp.config.js"@fortawesome": {
styles: [
"{$config.path.node_modules}/@fortawesome/fontawesome-pro/css/all.min.css",
],
fonts: [
"{$config.path.node_modules}/@fortawesome/fontawesome-pro/webfonts/**",
],
},
2. adding file .npmrc@awesome.me:registry=https://npm.fontawesome.com/
@fortawesome:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=your-auth-token
npmScopes:
awesome.me:
npmAlwaysAuth: true
npmRegistryServer: "https://npm.fontawesome.com/"
npmAuthToken: "your-auth-token"
fortawesome:
npmAlwaysAuth: true
npmRegistryServer: "https://npm.fontawesome.com/"
npmAuthToken: "your-auth-token"
3. put .npmrc in tools folder. same folder of package.json
4. change FA dependencies to "@fortawesome/fontawesome-pro": "^6.7.2",
5. run npm install or yarn install.
6. test the file. and you done.
Great tip, thanks for sharing this.
I have my own license of fontawesome 6 pro. I'll tried your suggestion.
Thanks
Hi,
Sorry, we don't have access to Fontawesome Pro and we can not include it in Metronic due to license limitations. If the usage of Fontawesome free and pro versions are same then you can probably replace the assets of the icons you can try to replace them.
Regards,
Sean