Debian Codegraph @

docs/content/en/commands/hugo_mod_vendor.md

raw
1 ---
2 title: "hugo mod vendor"
3 slug: hugo_mod_vendor
4 url: /commands/hugo_mod_vendor/
5 ---
6 ## hugo mod vendor
7
8 Vendor all module dependencies into the _vendor directory
9
10 ### Synopsis
11
12 Vendor all module dependencies into the _vendor directory.
13 If a module is vendored, that is where Hugo will look for it's dependencies.
14
15
16 ```
17 hugo mod vendor [flags] [args]
18 ```
19
20 ### Options
21
22 ```
23 -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
24 --cacheDir string filesystem path to cache directory
25 -c, --contentDir string filesystem path to content directory
26 -h, --help help for vendor
27 --renderSegments strings named segments to render (configured in the segments config)
28 -t, --theme strings themes to use (located in /themes/THEMENAME/)
29 ```
30
31 ### Options inherited from parent commands
32
33 ```
34 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
35 --config string config file (default is hugo.yaml|json|toml)
36 --configDir string config dir (default "config")
37 -d, --destination string filesystem path to write files to
38 -e, --environment string build environment
39 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
40 --logLevel string log level (debug|info|warn|error)
41 --noBuildLock don't create .hugo_build.lock file
42 --quiet build in quiet mode
43 -M, --renderToMemory render to memory (mostly useful when running the server)
44 -s, --source string filesystem path to read files relative from
45 --themesDir string filesystem path to themes directory
46 ```
47
48 ### SEE ALSO
49
50 * [hugo mod](/commands/hugo_mod/) - Manage modules