Category

Uncategorized

Deploying Next.js on Heroku

Photo by Ankush Minda on Unsplash Ref: https://medium.com/@jacoboakley/deploy-a-next-js-app-on-heroku-69bcb01db1b7 Make sure you add this “start” script to your package.json. Without this “start” script, when Heroku spins up your site, it won’t correctly connect you next app to the port…

Continue Reading

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