diff --git a/app/pages/docs/blitz-config.mdx b/app/pages/docs/blitz-config.mdx index f3890576..bf6d5116 100644 --- a/app/pages/docs/blitz-config.mdx +++ b/app/pages/docs/blitz-config.mdx @@ -129,6 +129,8 @@ module.exports = { ## CLI {#cli} +### Clear Console On Blitz Dev {#clear-console-on-blitz-dev} + When you run `blitz dev`, the console gets cleared. You can disable it by setting the `cli.clearConsoleOnBlitzDev` to `false`: @@ -140,6 +142,23 @@ module.exports = { } ``` +### Proxy support {#proxy-support} + +Proxy support is enabled automatically for recipe install if either `http_proxy` or `https_proxy` +environment variable is present. You can also set proxy using: + +```js +module.exports = { + cli: { + httpProxy: "http://127.0.0.1:8080", + httpsProxy: "http://127.0.0.1:8080", + noProxy: "localhost", + }, +} +``` + +Please note that proxy configuration in `blitz.config.js` will override environment proxy configuration. + ## CDN Support with Asset Prefix {#cdn-support-with-asset-prefix} To set up a [CDN](https://en.wikipedia.org/wiki/Content_delivery_network), diff --git a/app/pages/docs/get-started.mdx b/app/pages/docs/get-started.mdx index 92684ce5..dffe27a0 100644 --- a/app/pages/docs/get-started.mdx +++ b/app/pages/docs/get-started.mdx @@ -9,7 +9,7 @@ You need Node.js 12 or newer ### Install Blitz {#install-blitz} -Run `npm install -g blitz` +Run `yarn global add blitz` or `npm install -g blitz --legacy-peer-deps` (legacy-peer-deps is needed because npm totally change behavior of peer deps and some dependencies haven't caught up) ### Create a New App {#create-a-new-app}