From f915e090d8c3cad05cb7fb09c9bd136ee5e18072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bryan=20M=C3=BCller?= Date: Fri, 19 Nov 2021 22:13:56 -0600 Subject: [PATCH] docs(deploy): update gitlab deployment docs with custom outDir --- docs/guide/deploy.md | 2 +- src/node/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/deploy.md b/docs/guide/deploy.md index 4221893c..9c884e5f 100644 --- a/docs/guide/deploy.md +++ b/docs/guide/deploy.md @@ -136,7 +136,7 @@ deploy: If you are deploying to `https://.gitlab.io//`, for example your repository is at `https://gitlab.com//`, then set `base` to `'//'`. -2. Set `dest` in `.vitepress/config.js` to `public`. +2. Set `outDir` in `.vitepress/config.js` to `../public`. 3. Create a file called `.gitlab-ci.yml` in the root of your project with the content below. This will build and deploy your site whenever you make changes to your content: diff --git a/src/node/config.ts b/src/node/config.ts index c27bd758..a4deaeff 100644 --- a/src/node/config.ts +++ b/src/node/config.ts @@ -37,7 +37,7 @@ export interface UserConfig { locales?: Record markdown?: MarkdownOptions /** - * Opitons to pass on to `@vitejs/plugin-vue` + * Options to pass on to `@vitejs/plugin-vue` */ vue?: VuePluginOptions /**