1.0.18 • Published 2 years ago
dotaila v1.0.18
Frontend code template in React
This template is to be used for frontend applications.
Features
- State management + persistence with
valtio
andPersistableStore
- Less than 16kb after brotli compression (this includes everything) 😱
preact
under the hood withpreact/compat
makes it compatible with virtually anyreact
library but still makes it faster- Full TypeScript support — no dangling types
vite
packager and devtools make building and development lightning fast- Localization out of the box
tailwind-css
built-in with type-safe class names- GitHub Actions that lint and check the code on pull requests
prettier
andeslint
configured, enabled and formatting your code on save- List of recommended extensions for VSCode
- It is important to keep the bundle small, so a
stats.html
file is generated onyarn build
to visually show you the bundle size
Local launch
- Install dependencies with
yarn
- Run the server with
yarn start
Available Scripts
yarn start
— runs the app in the development modeyarn build
— builds the app for production to thedocs
folderyarn lint
— checks if the code is linted and formattedyarn generate-css-types
— generates the CSS types fortailwind-css
yarn update
— builds the code and pushes it to git remote
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago