Development
Requirements
(Lando) OR (Node 14+ and Yarn)
Yarn is optional
yarn
is technically optional but is preferred and is assumed in the docs below. That said you can probably use npm
as a drop in replacement for yarn
below and end up in the same place.
# clone repo
git clone https://github.com/lando/vuepress-theme-default-plus.git &&
\ cd vuepress-theme-default-plus
# start up app
lando start
# launch dev server
lando dev
# clone repo
git clone https://github.com/lando/vuepress-theme-default-plus.git &&
\ cd vuepress-theme-default-plus
# install deps
yarn
# launch dev server
yarn dev
# launch dev server in debug mode
DEBUG="@lando/*" yarn dev
Testing
# lint the code
lando yarn test
# lint the code
yarn test
Releasing
Here are some helpful commands to actually deploy a release.
# build the site
lando yarn build
# bump and tag the version the site
lando yarn release
# build the site
yarn build
# bump and tag the version the site
yarn release
An actual release to npm
can be done by create a release on GitHub. Pre-releases will deploy to @edge
tag.