When you use vue create test
, how to use Taobao to configure the default image.
Official website explained below
vim ~/.vuerc
{
"useTaobaoRegistry": true
}
Then later you can use Taobao mirrored.
So in the course of a custom configuration, always let a lot of things we choose, we can save up your favorite options. Abc following figure is the configuration I have ever been saved up.
This is how to do.
Like the Internet, said the official, from the last option in the customization options, you are prompted whether to save this up, then let fill in a name, be sure to name here, otherwise it is not saved on.
When we can use the next time you use the default options vue.
So the question again, the default option is to save it in any place, in fact, the official website also mentioned.
In ~/.vuerc
this file.
Look at this file cat ~/.vuerc
.
Well, here began vue-cli 3.0 bar.