This is a starter project for a frontend app that uses the following packages:
- SolidJS
- TailWindCSS
- Vite
- ESLint
- Prettier
PNPM is ideal for development machines because after a while, the local cache will contain many common packages and reinstallation of these packages becomes very fast.
pnpm install
"editor.defaultFormatter": "esbenp.prettier-vscode"
-
Maintain CSS intellisense with Tailwind intellisense in .css files
"files.associations": { "*.css": "tailwindcss" }
-
This allows Tailwind intellisense within variables named like 'myClassName'
"tailwindCSS.classAttributes": [ ".*ClassName" ]
- ESLint
- Prettier
- Tailwind CSS IntelliSense
- GitLens
- Git Graph
- Git History
Launch new browser window. Convenient, but then no browser Devtools
"configurations": [
{
"type": "chrome",
"name": "Debug in new browser",
"request": "launch",
"url": "http://localhost:5173"
}
]
Attach to existing browser window. Requires browser to be in debug mode, but then offers access to DevTools
"configurations": [
{
"type": "chrome",
"name": "Attach to browser",
"request": "attach",
"port": 9222
}
]
Command to start Chrome in debug mode
chrome.exe --remote-debugging-port=9222
npm run dev