Skip to content

Edit, Customize, and Override Bootstrap with Visual Studio Code

License

Notifications You must be signed in to change notification settings

czirok/bootstrap-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edit, Customize, and Override Bootstrap with Visual Studio Code

Bootstrap Bootstrap VS Code

Install

npm install
npm install -D prettier prettier-plugin-go-template

Copy .vscode directory, and .prettierignore .prettierrc.json files to the Bootstrap directory.

Disable TODO warnings

.eslintrc.json

{
  "rules": {
    "no-warning-comments": [
      "off",
      {
        "terms": [
          "todo",
          "fixme",
          "TODO",
          "FIXME"
        ]
      }
    ],
  }
}

Optional modification

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

Trademark notices

Visual Studio Code, VS Code, and the Visual Studio Code icon are trademarks of Microsoft Corporation. All rights reserved.