vue-cli 3.0 Taobao mirroring and arranged on custom configurations

When you use vue create test, how to use Taobao to configure the default image.
Official website explained belowHere Insert Picture Description

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.
Here Insert Picture Description
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.
Here Insert Picture Description
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 ~/.vuercthis file.
Look at this file cat ~/.vuerc.
Here Insert Picture Description

Well, here began vue-cli 3.0 bar.

Published 56 original articles · won praise 24 · views 30000 +

Guess you like

Origin blog.csdn.net/u014196765/article/details/98181619