npm install
npm install -D prettier prettier-plugin-go-template
Copy .vscode directory, and .prettierignore .prettierrc.json files to the Bootstrap directory.
.eslintrc.json
{
"rules": {
"no-warning-comments": [
"off",
{
"terms": [
"todo",
"fixme",
"TODO",
"FIXME"
]
}
],
}
}
Browsing on all IP addresses
packages.json
{
"scripts": {
"docs-serve-ip": "hugo server --baseURL http://$(hostname) --bind 0.0.0.0 --port 9001 --disableFastRender",
"docs-serve-only-ip": "npx sirv-cli _site --baseURL http://$(hostname) --bind 0.0.0.0 --port 9001"
}
}
npm run docs-serve-ip
npm run docs-serve-only-ip
Visual Studio Code, VS Code, and the Visual Studio Code icon are trademarks of Microsoft Corporation. All rights reserved.