Giter VIP home page Giter VIP logo

steam-game-preset's Introduction

steam-game-preset

steam-game-preset

发布系统发布路径

/data/publish/frontend/steamGame/gameName

拉取模板

npm install --global vue-cli
vue create --preset meishaFE/steam-game-preset gameName
cd gameName
yarn serve

输入参数说明

GAME_NAME:

参数解析:请输入游戏名,数字在前,如3dinosuar

参数用途:

  1. 用于项目的发布路径/game/3dinosaur/,路由如下 https://test-steam.meishakeji.com/game/3dinosaur/
  2. 用于打包发布的文件夹命名,打包出来的文件夹名称为 3dinosaur
  3. localStorage内游戏语言的标志位,{"3dinosaur":"cn", "bridge":"en"},根据该名字来定义游戏的语言类型

GAME_SERVER_ID:

参数解析:请输入后端定义的游戏 ID

参数用途:后端接口返回的数据里面代表改游戏的id

IS_GAME_HAS_EN_VERSION

参数解析:该游戏是否有英文版本,默认否

本地开发

# ./steam-game-preset 应当是一个包含 preset.json 的文件夹
vue create --preset ./steam-game-preset my-project

# 或者,直接使用当前工作目录下的 json 文件:
vue create --preset preset.json my-project

steam-game-preset's People

Contributors

akingwangx avatar ifengzp avatar jxjayden avatar

Watchers

 avatar  avatar  avatar

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.