Skip to content

Instantly share code, notes, and snippets.

@eriveltondasilva
Last active July 6, 2024 22:51
Show Gist options
  • Save eriveltondasilva/57c77c09bf500165c3aa84779eacbfe1 to your computer and use it in GitHub Desktop.
Save eriveltondasilva/57c77c09bf500165c3aa84779eacbfe1 to your computer and use it in GitHub Desktop.
Este arquivo define uma configuração de tarefas para o Visual Studio Code, facilitando o desenvolvimento de aplicações que utilizam Vite e Laravel. A configuração inclui três tarefas principais: 'Run Vite', 'Run Laravel' e '🚀 Servers'.
{
"version": "2.0.0",
"tasks": [
{
"label": "Run Vite",
"type": "shell",
"command": "npm run dev",
"isBackground": true,
"presentation": {
"panel": "new",
"reveal": "silent",
"group": "server",
"close": true
},
"problemMatcher": []
},
{
"label": "Run Laravel",
"type": "shell",
"command": "php artisan serve",
"isBackground": true,
"presentation": {
"panel": "new",
"reveal": "silent",
"group": "server",
"close": true
}
},
{
"label": "🚀 Servers",
"key": "ctrl+alt+s",
"dependsOn": ["Run Vite", "Run Laravel"],
"problemMatcher": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment