Mordoc Docs

Run Locally

Start the Mordoc development server and preview your documentation in a browser.

1 MIN READ

Running locally lets you preview your documentation before you publish it. This is the normal way to write, review, and adjust pages.

Start the dev server

If you just created a project, move into the generated folder first:

Bash
cd my-docs

Then start the local server:

Bash
npm run dev

This starts a local server so you can preview the documentation site on your computer.

When the server starts, Mordoc prints a local URL in your terminal. It usually looks like this:

Text
http://localhost:5173/

Open that URL in your browser to view your documentation site.

You should see the starter documentation site from the template. This confirms that your new Mordoc project is working.

Stop the server

For now, you can leave the server running while you continue reading. If you want to stop it, return to the terminal and press Ctrl+C.

Next step

Understand the project structure.

© 2026 Mordoc DocsBuilt with Mordoc