docker快速搭建前端开发环境(pnpm + vscode)

詹高畅
2023-12-01

docker-compose.yml

version: '3.0'
services:
  nodejs-dev:
    image: 'lsage/pnpm-circleci-node:16.13.1-pnpm7.5.1'
    volumes:
      - ./project:/home/circleci/project
    tty: true
    entrypoint: bash
    working_dir: /home/circleci/project

.vscode/extensions.json

{
  "recommendations": [
    "dbaeumer.vscode-eslint",
    "stylelint.vscode-stylelint",
    "esbenp.prettier-vscode",
    "mrmlnc.vscode-less",
    "lokalise.i18n-ally",
    "antfu.iconify",
    "mikestead.dotenv",
    "voorjaar.windicss-intellisense",
    "amayakite.aya-vue3-extension-pack",
    "vue.volar",
    "christian-kohler.path-intellisense",
    "pranaygp.vscode-css-peek",
    "steoates.autoimport",
    "formulahendry.auto-close-tag",
    "formulahendry.auto-rename-tag",
    "usernamehw.errorlens",
    "xabikos.javascriptsnippets",
    "wayou.vscode-todo-highlight",
    "hollowtree.vue-snippets",
    "wmaurer.change-case"
  ]
}
 类似资料: