We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation at https://cli.vuejs.org/guide/mode-and-env.html#using-env-variables-in-client-side-code offers no example for computed env vars.
As can be seen in this StackOverflow question, it is not clear where or how to add a computed env var.
It would be great if there was some sample code, eg
process.env.VUE_APP_VERSION = require('./package.json').version module.exports = { // other config, eg configureWebpack }
The text was updated successfully, but these errors were encountered:
7d99c44
No branches or pull requests
What problem does this feature solve?
The documentation at https://cli.vuejs.org/guide/mode-and-env.html#using-env-variables-in-client-side-code offers no example for computed env vars.
As can be seen in this StackOverflow question, it is not clear where or how to add a computed env var.
What does the proposed API look like?
It would be great if there was some sample code, eg
The text was updated successfully, but these errors were encountered: