V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
jiucaihua
V2EX  ›  问与答

如果打包上线? Vue+gulp

  •  
  •   jiucaihua · 2019-12-04 15:37:09 +08:00 · 749 次点击
    这是一个创建于 1631 天前的主题,其中的信息可能已经有所发展或是发生改变。

    之前用 npm run build 现在这个老项目是基于 guip+vue

    packpeg.json

    {
      "name": "admin-vue",
      "version": "1.0.0",
      "private": true,
      "scripts": {
        "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
        "start": "npm run dev",
        "unit": "jest --config test/unit/jest.conf.js --coverage",
        "e2e": "node test/e2e/runner.js",
        "test": "npm run unit && npm run e2e",
        "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
        "build": "gulp"
      },
      "dependencies": {
        "@smallwei/avue": "^2.0.2",
        "axios": "0.18.1",
        "babel-plugin-component": "0.10.1",
        "babel-polyfill": "6.26.0",
        "element-ui": "2.8.2",
        "gulp": "3.9.1",
        "gulp-concat": "2.6.1",
        "gulp-load-plugins": "1.5.0",
        "gulp-replace": "0.6.1",
        "gulp-shell": "0.6.5",
        "lodash": "4.17.5",
        "node-sass": "4.9.0",
        "svg-sprite-loader": "3.7.3",
        "vue": "2.6.10",
        "vue-cookie": "1.1.4",
        "vue-router": "3.0.1",
        "vuex": "3.0.1"
      },
      "devDependencies": {
        "autoprefixer": "7.1.2",
        "babel-core": "6.26.3",
        "babel-eslint": "7.1.1",
        "babel-jest": "21.0.2",
        "babel-loader": "7.1.1",
        "babel-plugin-dynamic-import-node": "1.2.0",
        "babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
        "babel-plugin-transform-runtime": "6.22.0",
        "babel-preset-env": "1.3.2",
        "babel-preset-stage-2": "6.22.0",
        "babel-register": "6.22.0",
        "chalk": "2.3.0",
        "chromedriver": "2.27.2",
        "copy-webpack-plugin": "4.0.1",
        "cross-spawn": "5.0.1",
        "css-loader": "0.28.0",
        "eslint": "3.19.0",
        "eslint-config-standard": "10.2.1",
        "eslint-friendly-formatter": "3.0.0",
        "eslint-loader": "1.7.1",
        "eslint-plugin-html": "3.0.0",
        "eslint-plugin-import": "2.7.0",
        "eslint-plugin-node": "5.2.0",
        "eslint-plugin-promise": "3.5.0",
        "eslint-plugin-standard": "3.0.1",
        "eventsource-polyfill": "0.9.6",
        "extract-text-webpack-plugin": "^4.0.0-beta.0",
        "file-loader": "1.1.4",
        "friendly-errors-webpack-plugin": "1.6.1",
        "html-webpack-plugin": "2.30.1",
        "jest": "21.2.
    
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2156 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:05 · PVG 00:05 · LAX 09:05 · JFK 12:05
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.