arrowsgm / fa5-subsetter Goto Github PK
View Code? Open in Web Editor NEWWebpack tree shaking for Font Awesome 5 - Beginners guide for those who not familiar with modern frontend development
License: The Unlicense
Webpack tree shaking for Font Awesome 5 - Beginners guide for those who not familiar with modern frontend development
License: The Unlicense
Greetings.
This looks promising for usage until FA gets their own built. In the meantime, I'm having trouble getting it to work with Pro. I've followed the steps on https://fontawesome.com/how-to-use/on-the-web/setup/using-package-managers and ran npm install --save-dev @fortawesome/fontawesome-pro.
Per the comments, i also changed "free" to "pro" on this line.
from '@fortawesome/pro-regular-svg-icons' //change this to @fortawesome/pro-regular-svg-icons if needed
I'm getting this error in the console:
ERROR in ./src/font-awesome-5-custom-bundle.js Module not found: Error: Can't resolve '@fortawesome/pro-regular-svg-icons' in 'c:\bitnami\sites\sss-templates\api\fa5-subsetter\src'
Upon looking in the node_modules/@FortAwesome, it does indeed appear that there is no "pro-regular-svg-icons" pack, just the "fontawesome-pro" pack.
Any suggestions as to how to get this working?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.