Last active
June 7, 2021 07:52
-
-
Save martinratinaud/629be54f01f1cca30e5baf4e197ee1d6 to your computer and use it in GitHub Desktop.
How to show your app version in a nextjs application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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