# Setup
Table of Contents
Prerequisites for a VuePress project are the same as Vue. Currently the project is using yarn version 1.22.x. If you are using yarn 3.x.x then add the yarn cache and support files to .gitignore before pushing to the remote repo.
# Clone
Clone the GitHub project api3dao/api3-docs (opens new window).
git clone git@github.com:api3dao/api3-docs.git
1
2
2
# Dependencies
Install dependencies for the api3-docs project.
cd api3-docs
yarn install
1
2
2
# Run Locally
Execute the docs:dev script in package.json to run the project locally. The script performs three steps.
- Copies an updated Navbar.vue to node_modules/@vuepress.
- Copies an updated Sidebar.vue to node_modules/@vuepress.
- Copies an updated SearchBox.vue to node_modules/@vuepress.
- Runs a local development server (hot reload) at localhost:8080.
# run locally
yarn docs:dev
1
2
2
# Branches
Work locally on branches (not main) and push to the remote repo to be merged with main via a PR.
Theme →

