89 lines
2.1 KiB
Plaintext
89 lines
2.1 KiB
Plaintext
{
|
|
"folders": [
|
|
{
|
|
"path": "../jeecgboot-vue3",
|
|
"name": "前端 (jeecgboot-vue3)"
|
|
}
|
|
],
|
|
"settings": {
|
|
"editor.formatOnSave": false,
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": "explicit"
|
|
},
|
|
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "vue"],
|
|
"typescript.tsdk": "node_modules/typescript/lib",
|
|
"files.exclude": {
|
|
"**/node_modules": true,
|
|
"**/dist": true
|
|
}
|
|
},
|
|
"launch": {
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"name": "调试前端 (Chrome)",
|
|
"url": "http://localhost:3100",
|
|
"webRoot": "${workspaceFolder}",
|
|
"preLaunchTask": "pnpm dev"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "pnpm dev",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["run", "dev"],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "integratedTerminal",
|
|
"skipFiles": ["<node_internals>/**", "**/node_modules/**"]
|
|
}
|
|
]
|
|
},
|
|
"tasks": {
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "pnpm dev",
|
|
"type": "shell",
|
|
"command": "pnpm run dev",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"owner": "vite",
|
|
"pattern": { "regexp": "^$" },
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": ".",
|
|
"endsPattern": "(Local:|ready in|http://localhost)"
|
|
}
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "pnpm build",
|
|
"type": "shell",
|
|
"command": "pnpm run build",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": [],
|
|
"group": "build"
|
|
}
|
|
]
|
|
},
|
|
"extensions": {
|
|
"recommendations": [
|
|
"Vue.volar",
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode",
|
|
"stylelint.vscode-stylelint"
|
|
]
|
|
}
|
|
}
|