Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

styling font awesome icons next js

import "@fortawesome/fontawesome-svg-core/styles.css"; // import Font Awesome CSS
import { config } from "@fortawesome/fontawesome-svg-core";
config.autoAddCss = false; // Tell Font Awesome to skip adding the CSS automatically since it's being imported above

const App = ({ Component, pageProps }) => {
  return <Component {...pageProps} />;
};

export default App;
// kindacode.com
Source by www.kindacode.com #
 
PREVIOUS NEXT
Tagged: #styling #font #awesome #icons #js
ADD COMMENT
Topic
Name
7+1 =