Skip to content

Commit

Permalink
feat: Before start debug run vue serve. (adempiere#1031)
Browse files Browse the repository at this point in the history
* feat: Before start debug run vue serve.

* add new line end file.
  • Loading branch information
EdwinBetanc0urt authored Jun 6, 2023
1 parent 4a73e52 commit 97604f8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,27 @@
"webRoot": "${workspaceFolder}/src",
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
},
"preLaunchTask": "serve"
},
{
"name": "Vue: Firefox",
"request": "launch",
"type": "firefox",
"url": "http://localhost:9527",
"webRoot": "${workspaceFolder}/src",
"pathMappings": [{ "url": "webpack:///src/", "path": "${webRoot}/" }]
"pathMappings": [
{ "url": "webpack:///src/", "path": "${webRoot}/" }
],
"preLaunchTask": "serve"
},
{
"name": "Vue: Edge",
"request": "launch",
"type": "msedge",
"url": "http://localhost:9527",
"webRoot": "${workspaceFolder}/src"
"webRoot": "${workspaceFolder}/src",
"preLaunchTask": "serve"
}
]
}
23 changes: 23 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "serve",
"type": "npm",
"script": "dev",
"isBackground": true,
"problemMatcher": [{
"base": "$tsc-watch",
"background": {
"activeOnStart": true,
"beginsPattern": "Starting development server",
"endsPattern": "Compiled successfully"
}
}],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
1 change: 1 addition & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ module.exports = {
// provide the app's title in webpack's name field, so that
// it can be accessed in index.html to inject the correct title.
name: name,
devtool: "source-map",
resolve: {
alias: {
'@': resolve('src'),
Expand Down

0 comments on commit 97604f8

Please sign in to comment.