mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 20:14:58 +00:00
Replace directive missing replace keyword
This commit is contained in:
1 parent
b0db64a032
commit
0a692db73c
1 file changed
+1
-1
@@ -64,7 +64,7 @@ Also see the [CLI Doc](/commands/hugo_mod_get/).
|
||||
One way to do local development of a module imported in a project is to add a replace directive to a local directory with the source in `go.mod`:
|
||||
|
||||
```bash
|
||||
github.com/bep/hugotestmods/mypartials => /Users/bep/hugotestmods/mypartials
|
||||
replace github.com/bep/hugotestmods/mypartials => /Users/bep/hugotestmods/mypartials
|
||||
```
|
||||
|
||||
If you have the `hugo server` running, the configuration will be reloaded and `/Users/bep/hugotestmods/mypartials` put on the watch list.
|
||||
|
||||
Reference in new issue
Block a user