Command: vue config
See original GitHub issueCurrently users have to manually open and edit ~/.vuerc
and by looking at the help message users don’t really realize it’s there.
We should have a vue config
command that allows users to more easily inspect and modify the config (and potentially makes it easier for external tools to access/modify the config via the CLI).
vue config
: prints the resolved full path and content of~/.vuerc
vue config get <path>
- e.g.vue config get packageManager
vue config set <path> <value>
- e.g.vue config set useTaobaoRegistry false
(should handle special case parsing for boolean and number values)vue config delete <path>
- e.g. deleting a preset:vue config delete preset.foo
vue config edit
- opens~/.vuerc
with the default editor (viaEDITOR
env var)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:12
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Configuration Reference | Vue CLI
vue.config.js is an optional config file that will be automatically loaded by @vue/cli-service if it's present in your project root (next to ...
Read more >CLI Service - Vue CLI
The vue-cli-service serve command starts a dev server (based on webpack-dev-server) that comes with Hot-Module-Replacement (HMR) working out of ...
Read more >Installation | Vue CLI
To install the new package, use one of the following commands. You need administrator privileges to execute these unless npm was installed on ......
Read more >Working with Webpack | Vue CLI
This file dynamically resolves and exports the exact same webpack config used in vue-cli-service commands, including those from plugins and even ...
Read more >Modes and Environment Variables - Vue CLI
When running vue-cli-service , environment variables are loaded from all corresponding files. If they don't contain a NODE_ENV variable, it will ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m currently trying the Vue-CLI 3 but i’m having these error below after i set the packageManager: “pnpm”
@beardedpayton you should be looking at here