vue 安装+下载

 

1. npm init -y    [生成package.json文件]

2.  增加  "private": true, 

3.npm install

4. npm install vue

-------------------------------------------------

{
  "name": "1002",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
  "test": "echo \"Error: no test specified\" && exit 1"
},
  "keywords": [],
  "author": "",
  "license": "ISC",
  "private": true,
  "dependencies": {
  "vue": "^2.6.9"
}
}

 

 

posted @ 2019-03-15 16:22  林间有风-邓  阅读(194)  评论(0编辑  收藏  举报