1# AWS Website: TanStack Start
2
3Deploys a [TanStack Start](https://tanstack.com/start) app to AWS with
4`AWS.Website.TanStackStart` — no adapter or deployment preset in
5`vite.config.ts` and no CloudFormation templates. The SSR server runs on
6a streaming Lambda Function URL; client assets deploy to S3 behind a
7CloudFront distribution.
8
9- `src/routes/index.tsx` is server-rendered in the Lambda and reads the
10 `GREETING` environment value declared in `alchemy.run.ts` through a
11 server function.
12- `src/components/Card.tsx` is a React component styled with Tailwind
13 utilities, wired through `@tailwindcss/vite` in the project's own
14 `vite.config.ts`.
15
16The integration package must be installed in the project (it is loaded
17dynamically at deploy time):
18
19```sh
20bun add -d @alchemy.run/frontend-frameworks
21```
22
23## Deploy
24
25```sh
26bun run deploy
27```
28
29Unchanged sources skip the Vite build entirely on subsequent deploys —
30the input files are content-hashed (scoped by `memo.include`).
31
32## Destroy
33
34```sh
35bun run destroy
36```