简单的代码,简单的学习。 基于VitePress框架的铁锈战争API代码。 在这里,你可以研究RTS单元代码, 以及地图代码,调试代码或更多, 你准备好了吗?让我们开始吧!
Go to file
2023-04-11 23:25:55 +08:00
.github feat:添加GitHub workflows与issues template 2023-04-11 14:10:35 +08:00
Backup 更新Core第一节到第三节 2023-04-11 23:17:20 +08:00
rustedwarfareapicode 更新Core第一节到第三节 2023-04-11 23:17:20 +08:00
.gitignore 更新示范文档 2023-04-11 10:26:58 +08:00
package-lock.json feat:添加GitHub workflows与issues template 2023-04-11 14:10:35 +08:00
package.json 重构为VitePress框架 2023-04-10 15:27:31 +08:00
README_en.md 更新说明文档 2023-04-11 09:39:58 +08:00
README.md Update README.md 2023-04-11 23:25:55 +08:00

RW-API-CODE

Easy Code,Easy Study.
Rusted Warfare API Code Base on VitePress Frame Work.

In this.You Can Study RTS Unit Code,And Map Code,Debug Code Or More And More, Do you Ready? Let's Go!

Rules

  • The code is for reference only. If there are any errors or omissions, please feel free to mention Github Issues
  • RW-API-Code is an unofficial third-party RustedWarfare code website that provides an efficient and highly learned service attitude.
  • If you want to collaborate on development, please Fork our main branch and apply for PullRequst

Dev

1.Prerequisite: Node.js 18 or above

If you don't have Node.js, you can download it from the link below.  

What, I'm not sure what Node.js is doing? I suggest closing this page immediately.

Node.js Link:Node.js

2.Install Vite Press

npm i vitepress -D

3.Package.json Framework

{
  "scripts": {
    "docs:dev": "vitepress dev rustedwarfareapicode",    
    "docs:build": "vitepress build rustedwarfareapicode",
    "docs:preview": "vitepress preview rustedwarfareapicode"
  },
  "devDependencies": {
    "vitepress": "^1.0.0-alpha.65"
  }
}

4.Local Deployment

DEV TEST:

npm run docs:dev

Build TEST:

npm run docs:build

Preview TEST:

npm run docs:preview

Netlify Deployment

When you submit your PR, it will automatically process it for you.

License

Apache License-2.0