Giter Club home page Giter Club logo

Comments (6)

daxiongYang avatar daxiongYang commented on June 2, 2024

抱歉,不是很明白您说的问题。

from renren-fast-vue.

ImpChiang avatar ImpChiang commented on June 2, 2024

再jenkins上每次打包发布测试,预发,线上环境的时候,都需要在static/config/index-prod 文件内修改api的接口请求地址之后才可以么?

from renren-fast-vue.

daxiongYang avatar daxiongYang commented on June 2, 2024

并不需要每次修改呢!

  • 开发的时候,如果已经知道多个环境配置信息,就可以直接将预留index-[qa/uat/prod].js 3个配置文件信息填写完毕,然后在打包的时候,会自动根据命令参数打包生成对应配置信息文件的。
  • 开发的时候,如果不知道多个环境配置信息,可以先用npm run build 打包命令。再修改dist/config/index.js文件中配置信息也是一样的。

from renren-fast-vue.

ImpChiang avatar ImpChiang commented on June 2, 2024

噢 明白了 那打包方式可以换成webpack的么

from renren-fast-vue.

daxiongYang avatar daxiongYang commented on June 2, 2024

现在打包就是用的webpack呢。 gulp只是做了一些特殊处理

from renren-fast-vue.

ImpChiang avatar ImpChiang commented on June 2, 2024

嗯 好的 多谢!!!

from renren-fast-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.