From 27f3c4eede755dbb42187f97a5bfe74f8f1f6bb1 Mon Sep 17 00:00:00 2001 From: Swizec Teller Date: Mon, 20 Jan 2025 10:44:09 -0800 Subject: [PATCH] docs: Update build-from-scratch.md (#3197) --- docs/framework/react/start/build-from-scratch.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/framework/react/start/build-from-scratch.md b/docs/framework/react/start/build-from-scratch.md index 931fd5e457..bc17da4a3e 100644 --- a/docs/framework/react/start/build-from-scratch.md +++ b/docs/framework/react/start/build-from-scratch.md @@ -86,8 +86,17 @@ To tell Vinxi that it should start TanStack Start's minimal behavior, we need to ```typescript // app.config.ts import { defineConfig } from '@tanstack/start/config' - -export default defineConfig({}) +import tsConfigPaths from "vite-tsconfig-paths"; + +export default defineConfig({ + vite: { + plugins: [ + tsConfigPaths({ + projects: ["./tsconfig.json"], + }), + ], + }, +}); ``` ## Add the Basic Templating