Create UI - Change VUE_APP_ to VITE_ Cleanup
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
The Vue-CLI to Vite migration guide recommends changing environment variable names.
As it stands, the environment variables have a prefix of `VUE_APP_` instead of `VITE_`. This was achieved by adding a prefix change in the `vite.config.js` file. Usually, `import.meta.env` only works with the VITE_ prefix. It is advised when working with Vite, to change everything to VITE_ (from Migration guides).
That won't work currently since there are some Devops code related to vaults. This ticket might need Patrick's help with some configs.
Need to handle:
- [ ] Change VUE_APP_ to VITE_ and make the necessary changes with it.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with vite.config.js and the Vue-CLI to Vite migration guidance to identify the current VUE_APP_ prefix handling. Then trace the DevOps vault-related configuration mentioned in the issue before changing the names to VITE_. Done means the frontend and related vault configurations use the new prefix without breaking environment-variable access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, vite
- Domain
- devops, frontend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100