# 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 ```txt 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](https://nodejs.org/en) ## 2.Install Vite Press ```bash npm i vitepress -D ``` ## 3.Package.json Framework ```json { "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: ```bash npm run docs:dev ``` Build TEST: ```bash npm run docs:build ``` Preview TEST: ```bash npm run docs:preview ``` # Netlify Deployment When you submit your PR, it will automatically process it for you. # License [Apache License-2.0](https://github.com/LingASDJ/RW-API-Code/blob/main/LICENSE)