docs: add node.js version to deployment notes (#944)

pull/946/head
Divyansh Singh 2 years ago committed by GitHub
parent 0f0453c675
commit 95f21f8c9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -55,6 +55,7 @@ Set up a new project and change these settings using your dashboard:
- **Build Command:** `yarn docs:build` - **Build Command:** `yarn docs:build`
- **Output Directory:** `docs/.vitepress/dist` - **Output Directory:** `docs/.vitepress/dist`
- **Node Version:** `14` (or above, by default it usually will be 14 or 16, but on Cloudflare Pages the default is still 12, so you may need to [change that](https://developers.cloudflare.com/pages/platform/build-configuration/))
::: warning ::: warning
Don't enable options like _Auto Minify_ for HTML code. It will remove comments from output which have meaning to Vue. You may see hydration mismatch errors if they get removed. Don't enable options like _Auto Minify_ for HTML code. It will remove comments from output which have meaning to Vue. You may see hydration mismatch errors if they get removed.

Loading…
Cancel
Save