美文网首页
first-vue-app-2018-12-07

first-vue-app-2018-12-07

作者: 槐树向北 | 来源:发表于2018-12-07 20:12 被阅读11次

1. install

npm install -g @vue/cli
# OR
yarn global add @vue/cli

2. create project

vue create first-vue-app

3. Meet vue-cli

1. show help

vue -h
#OR
vue --help
#OR 
vue   
vue help

2. show vue-cli version

vue -V
#OR 
vue - version

3. show create command help info

vue create -h
#OR
vue create --help
vue create help

4. create first vue app

#USAGE: vue create [options] <app-name>
vue create first-vue-app

Warring: <app-name> can not be upper case, only lower case name and - can be used for <app-name>

app-name can only be lower case and `-`

4. Run first vue project

yarn serve
#OR
vue-cil-service serve
run successfully

1. first error

image.png

相关文章

网友评论

      本文标题:first-vue-app-2018-12-07

      本文链接:https://www.haomeiwen.com/subject/fepxhqtx.html