syushin
V2EX  ›  问与答

请教 vue 多环境单包部署的问题

  •  
  •   syushin · Jul 4, 2023 · 1135 views
    This topic created in 1067 days ago, the information mentioned may be changed or developed.

    Vue 可以通过抽取环境变量的方式实现一次打包,多个环境(生产环境,测试环境,研发环境),想问这种模式下,git 的分支管理应该怎么管理?

    horizon
        1
    horizon  
       Jul 4, 2023
    环境变量在 jenkins 脚本中注入,git 用同一个分支啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3002 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 04:13 · PVG 12:13 · LAX 21:13 · JFK 00:13
    ♥ Do have faith in what you're doing.