Skip to content

Running Locally ​

Preview your changes on your computer before opening a pull request.

Requirements ​

Setup ​

  1. Fork and clone the FortnitePortingDocs repository
  2. Open a terminal in the project folder
  3. Install dependencies:
sh
pnpm install
  1. Start the local preview:
sh
pnpm docs:dev
  1. Open the local URL shown in the terminal, usually http://localhost:5173

Changes to markdown and media files hot reload in the browser automatically.

Other Commands ​

CommandWhat it does
pnpm docs:devLive preview while you edit
pnpm docs:buildBuild the site for production
pnpm docs:previewPreview the production build

When you are ready to submit, follow Creating a Pull Request.