Minimal TanStack Start Starter
必要なファイルだけで構成した、すっきりした TanStack Start アプリ。1 ページ、React 19、TypeScript 7、Vite 8 で、npm install と npm run dev ですぐに動きます。
- TanStack Start (@tanstack/react-start)
- TanStack Router (@tanstack/react-router)
- React
- Vite
- Vite React plugin (@vitejs/plugin-react)
スクリーンショット
- 最新リリース
- 1.0.0 · 2026/11/18
- ライセンス
- Source Code Licence
概要
TanStack CLI を使わずに手作業でセットアップした、最小構成の TanStack Start アプリの完全なソース コードです。1 つのページと、TanStack Start に必要なファイルだけで構成されており、最初に削除するものはありません。スタイル ライブラリ、リンター、ホスティング設定は含みません。npm install と npm run dev で実行でき、npm run build でビルドできます。macOS で Node.js 26 と npm 12 を使ってテスト済みです。
テンプレートから作った新しい TanStack Start アプリには、使い始める前に削除する余分なものが付いてきます。デモ ページ、スタイル、リンター、ホスティング設定などです。Minimal TanStack Start Starter はその逆です。TanStack Start に必要なファイルと 1 つのページだけを、TanStack 公式ガイド「Build a Project from Scratch」に沿って手作業でセットアップし、macOS での実際の実行でテストしています。
内容
- 動作する TanStack Start アプリ。
/に 1 つのページがあり、TanStack Start、React 19、Vite 8 で構築しています。 - 必要なファイルだけ。
vite.config.ts、tsconfig.json、ルーター (src/router.tsx)、HTML ドキュメントを組み立てる root route (src/routes/__root.tsx)、ホーム ページ (src/routes/index.tsx) です。 - 最初に削除するものはありません。 スタイル ライブラリ、リンター、デモ ページ、ホスティング設定がないので、アプリに必要なものだけを追加できます。
- ファイルごとに 1 ページ。
src/routesに追加したファイルはそれぞれページになり、ルートの一覧は TanStack Start が自動で書き出します。
最近のバージョン
- 2026 年 11 月 18 日時点の最新リリースで構築、テスト: TanStack Start 1.169、TanStack Router 1.170、React 19.3、Vite 8.3、TypeScript 7.0。正確なバージョンはロック ファイルで固定しています。
- Node.js 26 LTS。 nvm を使っている場合は、
.nvmrcファイルがこのバージョンを選びます。 - 型チェック済み。
npx tsc --noEmitは TypeScript 7 でエラーなく通ります。
プロジェクトにすぐ使える
- README に、必要な環境、セットアップ、スクリプト、ページの追加方法をまとめています。
- Git にすぐ対応。
node_modules、ビルド出力、.envファイルを除外する.gitignoreと、改行コードをそろえる.gitattributesファイルが付いています。 - 既定でプライベート。
package.jsonがプライベートに設定されているため、誤って npm に公開されることはありません。
含まれないもの
- スタイルはありません。 ページはブラウザーの既定のスタイルを使います。Tailwind CSS や独自の CSS を追加してください。
- ホスティングの設定はありません。 自分のコンピューターで実行とビルドができます。どこでホストするかはお任せします。
- データベース、サインイン、テストはありません。 完成したアプリではなく、出発点です。
3 つの手順で実行
- Node.js 26 LTS と npm 12 をインストールします。
- ダウンロードしたファイルを展開し、そのフォルダーでターミナルを開いて
npm installを実行します。 npm run devを実行し、http://localhost:3000を開きます。
How to Set Up and Run the Minimal TanStack Start Starter (新しいタブで開きます)(英語)では、すべての手順をスクリーンショット付きで紹介しています。
各ファイルの作り方は How to Build a TanStack Start App from Scratch Without the CLI (新しいタブで開きます)(英語)で、TanStack Start そのものは無料の TanStack Start Tutorial for Beginners (新しいタブで開きます)(英語)で学べます。
TanStack、React、その他の記載されている名称は、それぞれの所有者の商標です。
無料チュートリアルシリーズ
TanStack Start Tutorial for Beginners
作りながら学びたい方へ。ブログの無料ステップガイドで、このプロジェクトの作り方を順を追って紹介しています。
手に入るもの
アーカイブの中身が一目でわかります。
- 完全なソース コードのバージョン 1.0.0: 1 ページの TanStack Start アプリ
- TanStack のガイド Build a Project from Scratch のとおりに設定した vite.config.ts と tsconfig.json
- ルーター、HTML ドキュメントを含む root route、ホーム ページ
- テストに使った正確なパッケージ バージョンを記録したロック ファイル
- Node.js 26 用の .nvmrc ファイル、.gitignore、.gitattributes ファイル
- 必要な環境、セットアップ、スクリプト、ページの追加方法をまとめた README
使用している技術
開発と動作確認に使った実行環境とバージョンです。
- TanStack Start (@tanstack/react-start)1.169.5
- TanStack Router (@tanstack/react-router)1.170.46
- React19.3.1
- Vite8.3.8
- Vite React plugin (@vitejs/plugin-react)6.3.0
- TypeScript7.0.2
- Node.js26.13.1
- npm12.2.3
アーカイブの中身
展開したあとに手元に残るファイル構成です。
minimal-tanstack-start-starter/
- src/
- routes/
- __root.tsx
- index.tsx
- router.tsx
- routeTree.gen.ts
- routes/
- .gitattributes
- .gitignore
- .nvmrc
- README.md
- package-lock.json
- package.json
- tsconfig.json
- vite.config.ts
必要になるもの
動かすために必要なアカウントやサービスです。あとから驚くことはありません。
- Node.js 26 LTS
- npm 12
- ターミナルと、ファイルを編集するためのコード エディター
- コンピューター上の空いているポート(既定は 3000。使用中の場合、Vite は次の空いているポートを使います)
リリース
これまでのすべてのバージョンを新しい順に並べています。
1.0.0最新
完全なソース コードの最初のリリースです。
- 1 ページの TanStack Start 1 アプリ(React 19、TypeScript 7、Vite 8)。
- TanStack Start に必要なファイルだけで、手作業でセットアップしています。
- macOS で Node.js 26 と npm 12 を使ってテスト済みです。
Source Code Licence
利用できる範囲
What you may and may not do with the source code you buy.
ライセンスの全文を読む
- What this licence covers
This licence governs every file included in a product you buy from Dewiride Store: source code, configuration, database scripts, sample data, documentation and any other file in the download. It takes effect when your payment is confirmed and applies to every release of that product that reaches your library. Files that reach your library through an annual updates membership are governed in exactly the same way.
It forms part of the Terms of Sale and Use. Where a product page states different or additional licence terms for that product, those terms prevail for that product. The membership page may likewise state different or additional licence terms for the files a membership carries, and those terms then prevail for those files.
- The licence we grant you
We grant you a perpetual, worldwide, non-exclusive, non-transferable licence to use, reproduce, adapt, translate and modify the files, and to include the result in your own work, on the conditions set out below.
Perpetual means it does not expire. Worldwide means it is not limited to any country. Non-exclusive means we license the same product to other customers. Non-transferable means you cannot pass it on to someone else.
The licence is granted to you — either you personally, or the organisation you identified when buying. Everyone working within that organisation may use the files for that organisation’s projects. Nobody outside it may.
- What you may do
- Use and change the files in your own projects, commercial or otherwise, with no limit on the number of projects.
- Build a product or a service on them and charge your own customers for it.
- Deploy the result for a client, as part of work you are doing for that client.
- Distribute the result in compiled, deployed or otherwise non-source form.
- Keep as many back-up copies as you reasonably need.
- Study, observe and test how the code works, and obtain the information you need to make it work with your own software.
The last two are yours by law under sections 52(1)(aa) to (ac) of the Indian Copyright Act, 1957, and nothing in this licence is intended to take them away.
- What you may not do
- Resell, sublicense, redistribute or publish the files themselves, in whole or in substantial part, in source form.
- Include them in a template, starter kit, course, tutorial repository or component library that you sell or give away, where the code is the thing being supplied.
- Share your account, your download links or your invoices with anyone outside your organisation.
- Publish the files in a public repository, or in any other place where they can be obtained without buying them.
- Remove or obscure the copyright and attribution notices in the source files.
- Use the files to build something whose main purpose is to compete with Dewiride Store as a supplier of the same code.
The distinction that matters is simple: you may sell what you build with the code; you may not sell the code.
- Third-party components
Our products depend on open-source libraries, frameworks and services that we did not write. Those remain under their own licences, which we do not and cannot change. Where a product includes or requires such a component, its licence is named in the product’s documentation, and complying with it is your responsibility.
- Releases
Every release of a product you own is covered by this same licence and appears in your library at no extra cost. A release you have already downloaded remains licensed to you even if we later stop publishing the product. A release that reached your library through an annual updates membership is licensed to you on these same terms, and stays licensed after the period that carried it has ended.
- Ownership
We keep ownership of the files and of the copyright in them. You own whatever you create with them: your changes, your additions and the product you build are yours.
- If this licence ends
This licence ends if you materially breach it and do not put the breach right within thirty days of us asking you to in writing. It also ends if your payment is reversed or refunded, because the purchase it depends on no longer stands. Where a membership period is refunded or reversed, the licence ends for the releases that period carried and for nothing else: anything you bought separately, or that another period carried, is unaffected.
If it ends, you must stop using the files and delete the copies you hold. Work you had already delivered to a client before that point may continue in use, so that ending this licence never breaks something your own customer relies on.
- No warranty beyond the description
The warranties and limits in section 19 and section 20 of the Terms of Sale and Use apply to this licence as well.
- Governing law
This licence is governed by the law of India, and section 24 of the Terms of Sale and Use applies to any dispute about it. If a translation and the English version differ in meaning, the English version governs.
Minimal TanStack Start Starter
- ₹49+GST(合計 ₹57.82)
- $1