Skip to content

meikang123/uiFramework

Repository files navigation

自动化测试前端部分

dome

init

# 安装依赖
npm/yarn install

# 同步公用代码
npm run download
#
yarn download

公用代码定义

// package.json
...
"framework": {
    "name": "spa-vue-admin",
    "address": "[email protected]:frontend/giant-spa-vue-admin-framework.git",
    "branch": "dev"
}
...

开发及联调

npm run dev
#
yarn dev

测试/生产环境发布

# ST 测试环境
npm/yarn run build:st

# PRODUCTION 生产环境
npm/yarn run build

分环境配置文件

// src/config/base.js
export const Config = {
  /**
   * @description 开发联调环境
   *
   */
  DEVELOPMENT: {
    requestUrl: 'http://192.168.96.75:8787',
    wsUrl: '//192.168.96.75:8787'
  },
    /**
   * @description 测试环境/内网环境
   *
   */
  ST: {
    requestUrl: 'http://192.168.189.71:8787',
    wsUrl: '//192.168.189.71:8787'
  },
  // ...
}

Lints and fixes files

// 待定

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published