From 6d10e59c2512af94c66b4f547170b437df225cd9 Mon Sep 17 00:00:00 2001 From: kambala yashwanth Date: Thu, 16 Nov 2023 03:19:49 +0530 Subject: [PATCH] Update create-vite to use typescript for react (#742) --- _examples/how-to-add-google-login-to-your-sst-apps.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_examples/how-to-add-google-login-to-your-sst-apps.md b/_examples/how-to-add-google-login-to-your-sst-apps.md index bf4b0c7fc..8b3e70947 100644 --- a/_examples/how-to-add-google-login-to-your-sst-apps.md +++ b/_examples/how-to-add-google-login-to-your-sst-apps.md @@ -250,6 +250,11 @@ $ npx create-vite@latest web --template react $ cd web $ npm install ``` +For a react `TypeScript` project + +```bash +npx create-vite@latest web --template react-ts +``` This sets up our React app in the `web/` directory.