Run Locally
Start the Mordoc development server and preview your documentation in a browser.
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:
cd my-docsThen start the local server:
npm run devThis 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:
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.