Add debug target for playlet web

This commit is contained in:
Brahim Hadriche committed 2023-07-04 17:20:55 -04:00
1 parent a224b86fca
commit 016d6de6d6
2 files changed
+15

No files matched your search

+13
View File
@@ -57,6 +57,19 @@
"name": "Playlet Web (Dev)",
"request": "launch",
"type": "node-terminal"
},
{
"type": "chrome",
"request": "launch",
"name": "Playlet Web (Chrome)",
"webRoot": "${workspaceFolder}/playlet-web/src"
}
],
"compounds": [
{
"name": "Playlet Web (Debug)",
"configurations": ["Playlet Web (Dev)", "Playlet Web (Chrome)"],
"stopAll": true
}
]
}
+2
View File
@@ -273,6 +273,8 @@ You will notice that thr browser tab that just opened shows an url like `http://
This is because the web app will be served from Vite, while API calls to the playlet will be done to the Playlet lib webserver.
For debugging, choose the compound target `Playlet Web (Debug)`.
### Tailwind/Daisy UI
Playlet web app uses [Tailwind CSS](https://tailwindcss.com/) as its base styling library. Additionally, it uses [DaisyUI](https://daisyui.com/) as it offers a versatile set of components, and has built-in supports for themes.