Development Server
Running the server
Now that we have the project set up, let’s cd
to the generated project. Here we’ll have to install our node dependencies. To do so, run the following command.
# npm
npm install
# yarn
yarn
To start working on our documentation, we need to start a development server.
# npm
npm dev
# yarn
yarn dev
The command above will start a development server with hot-reloading capabilities on localhost:8000
. From now on, you can start writing your documentation with ease. In the next section, we will learn how to build your pages and deploy them.