Pular para o conteúdo principal

Minimal TanStack Start Starter

Um app TanStack Start limpo, só com os arquivos de que precisa: uma página, React 19, TypeScript 7 e Vite 8, rodando depois de npm install e npm run dev.

  • TanStack Start (@tanstack/react-start)
  • TanStack Router (@tanstack/react-router)
  • React
  • Vite
  • Vite React plugin (@vitejs/plugin-react)

Capturas de tela

Captura 1 de 4: Cartão de título do Minimal TanStack Start Starter: a promessa, as etiquetas da tecnologia, um npm run dev real que termina em Local: http://localhost:3001/ e a página inicial em um celular.

Cartão de título do Minimal TanStack Start Starter: a promessa, as etiquetas da tecnologia, um npm run dev real que termina em Local: http://localhost:3001/ e a página inicial em um celular.

Pagamento único

  • ₹ 49+ GST, ₹ 57,82 no total
  • US$ 1
  • Baixe na sua biblioteca assim que o pagamento for confirmado.
  • Todas as versões futuras deste projeto estão incluídas, sem custo adicional.
Versão mais recente
1.0.0 · 18 de nov. de 2026

Visão geral

O código-fonte completo de um app TanStack Start mínimo, configurado à mão sem a CLI do TanStack. Ele tem uma página e só os arquivos de que o TanStack Start precisa, sem nada para apagar antes: nenhuma biblioteca de estilos, nenhum linter e nenhuma configuração de hospedagem. Ele roda com npm install e npm run dev, é compilado com npm run build e foi testado no macOS com Node.js 26 e npm 12.

Apps novos de TanStack Start criados a partir de um template vêm com extras que você remove antes de começar: páginas de demonstração, estilos, linters e configurações de hospedagem. O Minimal TanStack Start Starter faz o caminho inverso: só os arquivos de que o TanStack Start precisa e uma página, configurados à mão seguindo o guia oficial do TanStack “Build a Project from Scratch”, e testados em execuções reais no macOS.

O que é

  • Um app TanStack Start funcionando. Uma página em /, feita com TanStack Start, React 19 e Vite 8.
  • Só os arquivos de que precisa. vite.config.ts, tsconfig.json, o router (src/router.tsx), a rota raiz que monta o documento HTML (src/routes/__root.tsx) e a página inicial (src/routes/index.tsx).
  • Nada para apagar antes. Sem biblioteca de estilos, sem linter, sem páginas de demonstração e sem configurações de hospedagem, então você adiciona só o que o seu app precisa.
  • Uma página para cada arquivo. Cada arquivo que você adiciona em src/routes vira uma página, e o TanStack Start escreve a lista de rotas para você.

Versões recentes

  • Criado e testado em 18 de novembro de 2026 com as versões mais novas: TanStack Start 1.169, TanStack Router 1.170, React 19.3, Vite 8.3 e TypeScript 7.0. O arquivo de lock fixa as versões exatas.
  • Node.js 26 LTS. O arquivo .nvmrc escolhe essa versão para você se você usa o nvm.
  • Tipos verificados. npx tsc --noEmit passa sem erros com o TypeScript 7.

Pronto para o seu projeto

  • Um README com os requisitos, a instalação, os scripts e como adicionar uma página.
  • Pronto para o Git. Um .gitignore que deixa de fora node_modules, os arquivos de build e os arquivos .env, e um arquivo .gitattributes para finais de linha consistentes.
  • Privado por padrão. O package.json está marcado como privado, então o app não pode ser publicado no npm por engano.

O que não inclui

  • Sem estilos. A página usa os estilos padrão do navegador. Adicione o Tailwind CSS ou o seu próprio CSS.
  • Sem configuração de hospedagem. Ele roda e é compilado no seu computador. Onde hospedar fica a seu critério.
  • Sem banco de dados, login ou testes. É um ponto de partida, não um app pronto.

Rode em três etapas

  1. Instale o Node.js 26 LTS e o npm 12.
  2. Descompacte o download, abra um terminal na pasta dele e rode npm install.
  3. Rode npm run dev e abra http://localhost:3000.

Cada etapa, com capturas de tela: How to Set Up and Run the Minimal TanStack Start Starter (abre em uma nova aba) (em inglês).

Veja como cada arquivo é construído em How to Build a TanStack Start App from Scratch Without the CLI (abre em uma nova aba) (em inglês) e aprenda TanStack Start no tutorial gratuito TanStack Start Tutorial for Beginners (abre em uma nova aba) (em inglês).

TanStack, React e os demais nomes mencionados são marcas comerciais de seus respectivos proprietários.

Série de tutoriais gratuita

TanStack Start Tutorial for Beginners

Prefere aprender construindo? Este guia gratuito e passo a passo no nosso blog mostra como o projeto é feito.

Ler a série (abre em uma nova aba)

O que você leva

Tudo o que está no arquivo, em um relance.

  • A versão 1.0.0 do código-fonte completo: um app TanStack Start com uma página
  • vite.config.ts e tsconfig.json, configurados como no guia Build a Project from Scratch do TanStack
  • O router, a rota raiz com o documento HTML e a página inicial
  • Um arquivo de lock com as versões exatas dos pacotes com que foi testado
  • Um arquivo .nvmrc para o Node.js 26, um .gitignore e um arquivo .gitattributes
  • Um README com os requisitos, a instalação, os scripts e como adicionar uma página

Feito com

As versões e os ambientes exatos com que foi criado e testado.

  • 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

O que há no arquivo

A árvore de pastas que você recebe ao descompactar.

minimal-tanstack-start-starter/

  • src/
    • routes/
      • __root.tsx
      • index.tsx
    • router.tsx
    • routeTree.gen.ts
  • .gitattributes
  • .gitignore
  • .nvmrc
  • README.md
  • package-lock.json
  • package.json
  • tsconfig.json
  • vite.config.ts

O que ele precisa de você

As contas e os serviços que ele espera encontrar, para nada surpreender.

  • Node.js 26 LTS
  • npm 12
  • Um terminal e um editor de código para alterar os arquivos
  • Uma porta livre no seu computador, a 3000 por padrão (se estiver ocupada, o Vite usa a próxima livre)

Versões

Todas as versões até agora, da mais recente para a mais antiga.

  1. 1.0.0Mais recente

    Primeira versão do código-fonte completo.

    • Um app TanStack Start 1 com uma página, React 19, TypeScript 7 e Vite 8.
    • Configurado à mão, só com os arquivos de que o TanStack Start precisa.
    • Testado no macOS com Node.js 26 e npm 12.

Source Code Licence

O que você pode fazer com ele

What you may and may not do with the source code you buy.

Ler a licença completa
  1. 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.

  1. 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.

  1. 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.

  1. 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.

  1. 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.

  1. 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.

  1. 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.

  1. 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.

  1. 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.

  1. 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.