-
Node.js
Version 14.x is the current LTS (2021-09-29)
-
npm
-
Clone the repo.
-
It is recommended to install docsify-cli globally, which helps initializing and previewing the website locally.
npm install docsify-cli -g
Optional 1: if you prefer to install
docsify
locally.npm install
Optional 2: you can also use docsify without installing the package, later on, with
npx docsify <command>
. -
Preview the site
npm start
Optional 1: without docsify globally installed, use the following command
npx docsify serve docs
-
You can preview your site in your browser on
http://localhost:3000
For a simple check you can use
npm run prettier
If you want prettier to try and fix problems, use
npm run prettier-fix