码迷,mamicode.com
首页 > Web开发 > 详细

gulp+vue+webpack .net core web项目开发

时间:2017-06-23 13:03:04      阅读:228      评论:0      收藏:0      [点我收藏+]

标签:exit   pts   3.2   web项目   amp   auth   准备   name   gets   

使用前准备

  • 安装nodejs
  • npm
  • cnpm
  • 全局安装webpack

PS:cnpm与npm区别,请百度

1.packages.json配置文件,如项目中没有这个文件,则运行npm init即可(PS:cnpm init也可以)

{
  "name": "tcbase.nugetserver.portal",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "css-loader": "^0.28.4",
    "gulp": "^3.9.1",
    "gulp-webpack": "^1.5.0",
    "vue": "^2.3.4",
    "vue-loader": "^12.2.1",
    "vue-resource": "^1.3.4",
    "vue-router": "^2.6.0",
    "vue-template-compiler": "^2.3.4",
    "webpack": "^2.6.1",
    "webpack-stream": "^3.2.0"
  },
  "dependencies": {}
}

 

gulp+vue+webpack .net core web项目开发

标签:exit   pts   3.2   web项目   amp   auth   准备   name   gets   

原文地址:http://www.cnblogs.com/fengqiaoyebo/p/7069103.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!