Monthly Archives

April 2019

Next.js and SVG images

To use SVG images inline in Next.js apps install babel-plugin-inline-react-svg add the following .babelrc file to the root of your app restart your app import SVG as react component Reference: https://github.com/flaviogranero/svg-components-example  

Continue Reading