Scaffolding a VuePress project
In the desired folder, run the following command to start the VuePress site generator:
npx create-vuepress-site
# yarn create vuepress-siteThis will create a scaffolded documentation site in the docs directory that is enclosed from the rest of the folder.
# Navigate into newly scaffolded docs directory
cd docs
# Install dependencies
npm install
# yarn install
# Start local dev server
npm run devBy default, you should now see your scaffolded VuePress docs site at https://localhost:8080!
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
create-vuepress-site exists due to the previous work of:
-
create-umi (Direct reuse of scaffolding functions of the library.)