Skip to content

Instantly share code, notes, and snippets.

@martinratinaud
Last active June 7, 2021 07:52
Show Gist options
  • Save martinratinaud/629be54f01f1cca30e5baf4e197ee1d6 to your computer and use it in GitHub Desktop.
Save martinratinaud/629be54f01f1cca30e5baf4e197ee1d6 to your computer and use it in GitHub Desktop.
How to show your app version in a nextjs application
const { version } = require('./package.json');
module.exports = {
publicRuntimeConfig: {
version,
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment