Running Locally
Preview your changes on your computer before opening a pull request.
Requirements
Setup
- Fork and clone the FortnitePortingDocs repository
- Open a terminal in the project folder
- Install dependencies:
sh
pnpm install- Start the local preview:
sh
pnpm docs:dev- 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
| Command | What it does |
|---|---|
pnpm docs:dev | Live preview while you edit |
pnpm docs:build | Build the site for production |
pnpm docs:preview | Preview the production build |
When you are ready to submit, follow Creating a Pull Request.