mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
Update js.md
This commit is contained in:
committed by
GitHub
parent
bc75bc9625
commit
7b5109d903
@@ -113,6 +113,8 @@ import * as params from '@params';
|
||||
|
||||
Hugo will, by default, generate a `assets/jsconfig.js` file that maps the imports. This is useful for navigation/intellisense help inside code editors, but if you don't need/want it, you can [turn it off](/getting-started/configuration/#configure-build).
|
||||
|
||||
**Note:** If you're developing a theme/component that's is supposed to be imported and depends on dependencies inside `package.json`, the project needs to run [hugo mod npm pack](/commands/hugo_mod_npm_pack/) to see the dependencies.
|
||||
|
||||
### Examples
|
||||
|
||||
```go-html-template
|
||||
|
||||
Reference in New Issue
Block a user