diff options
author | Varun A P <varunlakshmananap@gmail.com> | 2021-07-15 09:00:18 +0300 |
---|---|---|
committer | Varun A P <varunlakshmananap@gmail.com> | 2021-07-15 09:00:18 +0300 |
commit | a5a56ef533a24737d1ef41ce9c299741e7ace4be (patch) | |
tree | 73ff4f2adba4687314eea89c24c3cd33bf991818 | |
parent | ee7b981517d4adaaaaed75770f414de3c5f843e5 (diff) |
Add build command for hosting services
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -46,6 +46,12 @@ hugo serve --themesDir ../.. Then visit `http://localhost:1313/` in your browser to view the example site. +When deploying to services like Netlify or Vercel, use the following command for building your site: + +```sh +npm i && hugo -D --gc +``` + ## Migrating to v1.3.0 Minimum Hugo Version: 0.69.0 |