Skip to content

Latest commit

 

History

History
63 lines (50 loc) · 1.47 KB

README_en.md

File metadata and controls

63 lines (50 loc) · 1.47 KB

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