diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..a768274 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,36 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// https://gitee.com/SuperIDE/DevContainerExample +{ + "name": "DevContainerExample", + // Base Development Container Images https://mcr.microsoft.com/en-us/product/devcontainers/base/about + "image": "mcr.microsoft.com/devcontainers/base:dev-ubuntu-20.04", + // 如上指定image生成容器,也可以通过如下通过Dockerfile来生成容器 + // "build": { + // "dockerfile": "Dockerfile" + // } + "customizations": { + "vscode": { + "settings": {}, + // vscode extensions + "extensions": [ + // "editorconfig.editorconfig", + // "dbaeumer.vscode-eslint", + // "golang.go", + // "stylelint.vscode-stylelint", + // "DavidAnson.vscode-markdownlint", + // "Vue.volar", + // "ms-azuretools.vscode-docker", + // "vitest.explorer", + // "cweijan.vscode-database-client2", + // "GitHub.vscode-pull-request-github", + // "Azurite.azurite" + ] + } + }, + "portsAttributes": { + "3000": { + "label": "Web Server", + "onAutoForward": "notify" + } + } + } \ No newline at end of file