Very Fast React Boilerplate
Getting started
- Gets the git project. (Auto run installation)
npx react-vite-ts-boilerplate my-app- 開発サーバーを起動します。そしてブラウザで http://localhost:3000 を開きます。
yarn dev- 製品を構築します。
yarn prod依存関係
- React
- Vite
- Typescript
- eslint
- Prettier
パフォーマンス
- 高速な開発サーバー
$ yarn dev
yarn run v1.22.17
$ vite
16:58:10
vite v2.8.6 dev server running at: > Local: http://localhost:3000/ 16:58:10
> Network: use --host to expose 16:58:10
16:58:10
ready in 776ms.
- 高速なビルド速度
$ yarn prod
yarn run v1.22.17
$ vite build
vite v2.8.6 building for production... 21:57:44
✓ 37 modules transformed. 21:57:45
dist/public/index.html 0.55 KiB 21:57:45
dist/assets/index.f377a083.js 2.09 KiB / gzip: 1.13 KiB 21:57:45
dist/assets/vendor.5ad169fc.js 136.42 KiB / gzip: 44.42 KiB 21:57:45
✨ Done in 2.22s.- vite-plugin-checkerによる型チェック