Frontend starter template with React
https://templates.borodutch.com
- TypeScript 47.1%
- JavaScript 31.8%
- HTML 14.7%
- CSS 6.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github | ||
| .vscode | ||
| .yarn | ||
| public | ||
| src | ||
| .gitignore | ||
| .nvmrc | ||
| .prettierrc.json | ||
| .yarnrc.yml | ||
| eslint.config.js | ||
| index.html | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| yarn.lock | ||
Frontend code template in preact
This template is to be used for frontend applications.
Features
- State management with
jotai - Around 13.53kb after brotli compression (this includes everything) 😱
preactunder the hood withpreact/compatmakes it compatible with virtually anyreactlibrary but still makes it faster- Full TypeScript support — no dangling types
vitepackager and devtools make building and development lightning fasttailwind-cssbuilt-in with 'daisyui'- GitHub Actions that lint and check the code on pull requests
prettierandeslintconfigured, enabled and formatting your code on save- List of recommended extensions for VSCode
- It is important to keep the bundle small, so a
stats.htmlfile is generated onyarn buildto visually show you the bundle size
Local launch
- Install dependencies with
yarn - Run the server with
yarn start